From 98c0cdeb3ed37b73b8352aa45eba9dde3a3c0e55 Mon Sep 17 00:00:00 2001 From: mitchell Date: Thu, 14 Dec 2023 16:09:17 -0500 Subject: [PATCH] Revert "Merge pull request #2903 from ActiveState/mitchell/dx-2334" This reverts commit 85224ba1fe41de82237b2268b79543040f72d547, reversing changes made to a99f200573fee6d2aaf612330e9cf649547ab03b. --- cmd/state/internal/cmdtree/bundles.go | 4 +- cmd/state/internal/cmdtree/cmdtree.go | 2 - cmd/state/internal/cmdtree/packages.go | 22 +- cmd/state/internal/cmdtree/publish.go | 97 ---- go.mod | 2 +- internal/assets/contents/usage.tpl | 14 +- internal/captain/flag.go | 13 +- internal/captain/nameversion.go | 40 ++ internal/captain/values.go | 258 ----------- internal/captain/values_test.go | 137 ------ internal/constants/constants.go | 3 - internal/fileutils/fileutils.go | 8 +- internal/fileutils/replace_bench_test.go | 4 +- internal/gqlclient/gqlclient.go | 258 +---------- internal/locale/locales/en-us.yaml | 23 +- internal/runbits/requirements/requirements.go | 91 ++-- internal/runners/initialize/init.go | 2 +- internal/runners/languages/install.go | 2 +- internal/runners/packages/info.go | 71 ++- internal/runners/packages/install.go | 36 +- internal/runners/packages/search.go | 41 +- internal/runners/packages/uninstall.go | 20 +- internal/runners/platforms/add.go | 5 +- internal/runners/platforms/platforms.go | 4 +- internal/runners/platforms/remove.go | 5 +- internal/runners/publish/publish.go | 348 -------------- internal/runners/update/lock.go | 5 +- internal/subshell/sscommon/rcfile_test.go | 2 +- internal/testhelpers/e2e/session.go | 70 +-- internal/testhelpers/tagsuite/tagsuite.go | 1 - .../buildplanner/request/buildexpression.go | 4 +- .../api/buildplanner/request/commit.go | 4 +- .../api/buildplanner/request/createproject.go | 4 +- .../api/buildplanner/request/mergecommit.go | 4 +- .../api/buildplanner/request/project.go | 4 +- .../api/buildplanner/request/revertcommit.go | 4 +- .../api/buildplanner/request/stagecommit.go | 4 +- pkg/platform/api/graphql/model/model.go | 5 - pkg/platform/api/graphql/model/publish.go | 10 - .../api/graphql/request/organization.go | 16 +- pkg/platform/api/graphql/request/project.go | 6 +- pkg/platform/api/graphql/request/publish.go | 203 --------- pkg/platform/api/graphql/request/vcs.go | 6 +- .../add_author_parameters.go | 8 +- .../add_author_responses.go | 9 +- .../add_build_flag_parameters.go | 8 +- .../add_build_flag_responses.go | 9 +- .../add_build_flag_revision_parameters.go | 8 +- .../add_build_flag_revision_responses.go | 9 +- .../add_build_script_parameters.go | 8 +- .../add_build_script_responses.go | 9 +- ...u_architecture_cpu_extension_parameters.go | 8 +- ...pu_architecture_cpu_extension_responses.go | 9 +- .../add_cpu_architecture_parameters.go | 8 +- .../add_cpu_architecture_responses.go | 9 +- ...dd_cpu_architecture_revision_parameters.go | 8 +- ...add_cpu_architecture_revision_responses.go | 9 +- .../add_cpu_extension_parameters.go | 8 +- .../add_cpu_extension_responses.go | 9 +- .../add_cpu_extension_revision_parameters.go | 8 +- .../add_cpu_extension_revision_responses.go | 9 +- .../add_g_p_u_architecture_parameters.go | 8 +- .../add_g_p_u_architecture_responses.go | 9 +- ..._g_p_u_architecture_revision_parameters.go | 8 +- ...d_g_p_u_architecture_revision_responses.go | 9 +- .../add_image_parameters.go | 8 +- .../add_image_responses.go | 9 +- .../add_image_revision_parameters.go | 8 +- .../add_image_revision_responses.go | 9 +- .../add_ingredient_and_versions_parameters.go | 8 +- .../add_ingredient_and_versions_responses.go | 9 +- .../add_ingredient_option_set_parameters.go | 8 +- .../add_ingredient_option_set_responses.go | 9 +- ...gredient_option_set_revision_parameters.go | 8 +- ...ngredient_option_set_revision_responses.go | 9 +- .../add_ingredient_parameters.go | 8 +- .../add_ingredient_responses.go | 9 +- ...dd_ingredient_version_author_parameters.go | 8 +- ...add_ingredient_version_author_responses.go | 9 +- .../add_ingredient_version_parameters.go | 8 +- .../add_ingredient_version_responses.go | 9 +- ..._ingredient_version_revision_parameters.go | 8 +- ...d_ingredient_version_revision_responses.go | 9 +- .../add_kernel_cpu_architecture_parameters.go | 8 +- .../add_kernel_cpu_architecture_responses.go | 9 +- ...dd_kernel_g_p_u_architecture_parameters.go | 8 +- ...add_kernel_g_p_u_architecture_responses.go | 9 +- .../add_kernel_parameters.go | 8 +- .../add_kernel_responses.go | 9 +- .../add_kernel_version_parameters.go | 8 +- .../add_kernel_version_responses.go | 9 +- .../add_kernel_version_revision_parameters.go | 8 +- .../add_kernel_version_revision_responses.go | 9 +- .../add_libc_parameters.go | 8 +- .../add_libc_responses.go | 9 +- .../add_libc_version_parameters.go | 8 +- .../add_libc_version_responses.go | 9 +- .../add_libc_version_revision_parameters.go | 8 +- .../add_libc_version_revision_responses.go | 9 +- .../add_namespace_parameters.go | 8 +- .../add_namespace_responses.go | 9 +- .../add_operating_system_kernel_parameters.go | 8 +- .../add_operating_system_kernel_responses.go | 9 +- .../add_operating_system_libc_parameters.go | 8 +- .../add_operating_system_libc_responses.go | 9 +- .../add_operating_system_parameters.go | 8 +- .../add_operating_system_responses.go | 9 +- ...add_operating_system_version_parameters.go | 8 +- .../add_operating_system_version_responses.go | 9 +- ...ting_system_version_revision_parameters.go | 8 +- ...ating_system_version_revision_responses.go | 9 +- .../add_patch_parameters.go | 8 +- .../add_patch_responses.go | 9 +- .../add_platform_parameters.go | 8 +- .../add_platform_responses.go | 9 +- .../delete_image_parameters.go | 8 +- .../delete_image_responses.go | 6 +- .../delete_ingredient_version_parameters.go | 8 +- .../delete_ingredient_version_responses.go | 6 +- .../get_author_parameters.go | 8 +- .../get_author_responses.go | 6 +- .../get_authors_parameters.go | 8 +- .../get_authors_responses.go | 6 +- .../get_build_flag_parameters.go | 8 +- .../get_build_flag_responses.go | 6 +- .../get_build_flags_parameters.go | 8 +- .../get_build_flags_responses.go | 6 +- .../get_build_script_parameters.go | 8 +- .../get_build_script_responses.go | 6 +- .../get_build_scripts_parameters.go | 8 +- .../get_build_scripts_responses.go | 6 +- ..._architecture_cpu_extensions_parameters.go | 8 +- ...u_architecture_cpu_extensions_responses.go | 6 +- .../get_cpu_architecture_parameters.go | 8 +- .../get_cpu_architecture_responses.go | 6 +- .../get_cpu_architectures_parameters.go | 8 +- .../get_cpu_architectures_responses.go | 6 +- .../get_cpu_extension_parameters.go | 8 +- .../get_cpu_extension_responses.go | 6 +- .../get_cpu_extensions_parameters.go | 8 +- .../get_cpu_extensions_responses.go | 6 +- .../get_g_p_u_architecture_parameters.go | 8 +- .../get_g_p_u_architecture_responses.go | 6 +- .../get_g_p_u_architectures_parameters.go | 8 +- .../get_g_p_u_architectures_responses.go | 6 +- .../get_image_parameters.go | 8 +- .../get_image_responses.go | 6 +- .../get_images_parameters.go | 8 +- .../get_images_responses.go | 6 +- ...tion_set_ingredient_versions_parameters.go | 8 +- ...ption_set_ingredient_versions_responses.go | 6 +- .../get_ingredient_option_set_parameters.go | 8 +- .../get_ingredient_option_set_responses.go | 6 +- .../get_ingredient_option_sets_parameters.go | 8 +- .../get_ingredient_option_sets_responses.go | 6 +- .../get_ingredient_parameters.go | 8 +- .../get_ingredient_responses.go | 6 +- ...t_ingredient_version_authors_parameters.go | 8 +- ...et_ingredient_version_authors_responses.go | 6 +- ...edient_version_build_scripts_parameters.go | 8 +- ...redient_version_build_scripts_responses.go | 6 +- ...rsion_ingredient_option_sets_parameters.go | 8 +- ...ersion_ingredient_option_sets_responses.go | 6 +- .../get_ingredient_version_parameters.go | 8 +- ...t_ingredient_version_patches_parameters.go | 8 +- ...et_ingredient_version_patches_responses.go | 6 +- .../get_ingredient_version_responses.go | 6 +- ..._ingredient_version_revision_parameters.go | 8 +- ...t_ingredient_version_revision_responses.go | 6 +- ...ingredient_version_revisions_parameters.go | 8 +- ..._ingredient_version_revisions_responses.go | 6 +- .../get_ingredient_versions_parameters.go | 8 +- .../get_ingredient_versions_responses.go | 6 +- .../get_ingredients_parameters.go | 8 +- .../get_ingredients_responses.go | 6 +- ...get_kernel_cpu_architectures_parameters.go | 8 +- .../get_kernel_cpu_architectures_responses.go | 6 +- ...t_kernel_g_p_u_architectures_parameters.go | 8 +- ...et_kernel_g_p_u_architectures_responses.go | 6 +- .../get_kernel_parameters.go | 8 +- .../get_kernel_responses.go | 6 +- .../get_kernel_version_parameters.go | 8 +- .../get_kernel_version_responses.go | 6 +- .../get_kernel_versions_parameters.go | 8 +- .../get_kernel_versions_responses.go | 6 +- .../get_kernels_parameters.go | 8 +- .../get_kernels_responses.go | 6 +- .../get_latest_timestamp_parameters.go | 8 +- .../get_latest_timestamp_responses.go | 6 +- .../get_libc_parameters.go | 8 +- .../get_libc_responses.go | 6 +- .../get_libc_version_parameters.go | 8 +- .../get_libc_version_responses.go | 6 +- .../get_libc_versions_parameters.go | 8 +- .../get_libc_versions_responses.go | 6 +- .../get_libcs_parameters.go | 8 +- .../get_libcs_responses.go | 6 +- .../get_namespace_ingredient_parameters.go | 8 +- .../get_namespace_ingredient_responses.go | 9 +- ...namespace_ingredient_version_parameters.go | 8 +- ..._namespace_ingredient_version_responses.go | 9 +- ...amespace_ingredient_versions_parameters.go | 8 +- ...namespace_ingredient_versions_responses.go | 9 +- .../get_namespace_ingredients_parameters.go | 8 +- .../get_namespace_ingredients_responses.go | 6 +- .../get_namespaces_parameters.go | 8 +- .../get_namespaces_responses.go | 6 +- ...get_operating_system_kernels_parameters.go | 8 +- .../get_operating_system_kernels_responses.go | 6 +- .../get_operating_system_libcs_parameters.go | 8 +- .../get_operating_system_libcs_responses.go | 6 +- .../get_operating_system_parameters.go | 8 +- .../get_operating_system_responses.go | 6 +- ...get_operating_system_version_parameters.go | 8 +- .../get_operating_system_version_responses.go | 6 +- ...et_operating_system_versions_parameters.go | 8 +- ...get_operating_system_versions_responses.go | 6 +- .../get_operating_systems_parameters.go | 8 +- .../get_operating_systems_responses.go | 6 +- .../get_patch_parameters.go | 8 +- .../get_patch_responses.go | 6 +- .../get_patches_parameters.go | 8 +- .../get_patches_responses.go | 6 +- .../get_platform_parameters.go | 8 +- .../get_platform_responses.go | 6 +- .../get_platforms_parameters.go | 8 +- .../get_platforms_responses.go | 6 +- .../get_solution_recipe_parameters.go | 8 +- .../get_solution_recipe_responses.go | 6 +- .../health_check_parameters.go | 8 +- .../health_check_responses.go | 6 +- .../inventory_operations_client.go | 214 ++++----- .../normalize_names_parameters.go | 8 +- .../normalize_names_responses.go | 6 +- .../readiness_check_parameters.go | 8 +- .../readiness_check_responses.go | 6 +- .../resolve_recipes_parameters.go | 8 +- .../resolve_recipes_responses.go | 12 +- .../search_ingredients_parameters.go | 8 +- .../search_ingredients_responses.go | 9 +- .../solve_order_parameters.go | 8 +- .../solve_order_responses.go | 9 +- .../update_author_parameters.go | 8 +- .../update_author_responses.go | 9 +- .../update_build_script_parameters.go | 8 +- .../update_build_script_responses.go | 9 +- .../update_ingredient_parameters.go | 8 +- .../update_ingredient_responses.go | 6 +- .../update_ingredient_version_parameters.go | 8 +- .../update_ingredient_version_responses.go | 9 +- .../update_patch_parameters.go | 8 +- .../update_patch_responses.go | 9 +- .../update_platform_parameters.go | 8 +- .../update_platform_responses.go | 9 +- .../validate_recipe_parameters.go | 8 +- .../validate_recipe_responses.go | 9 +- .../api/inventory/inventory_models/author.go | 2 +- .../inventory/inventory_models/author_core.go | 2 +- .../inventory_models/author_paged_list.go | 2 +- .../inventory/inventory_models/build_flag.go | 2 +- .../inventory_models/build_flag_core.go | 2 +- .../inventory_models/build_flag_paged_list.go | 2 +- .../build_flag_revision_core.go | 2 +- .../build_script_paged_list.go | 2 +- .../inventory_models/cpu_architecture.go | 2 +- .../inventory_models/cpu_architecture_core.go | 2 +- .../cpu_architecture_paged_list.go | 2 +- .../inventory_models/cpu_extension.go | 2 +- .../inventory_models/cpu_extension_core.go | 2 +- .../cpu_extension_paged_list.go | 2 +- .../inventory/inventory_models/dependency.go | 2 +- .../inventory_models/gpu_architecture.go | 2 +- .../inventory_models/gpu_architecture_core.go | 2 +- .../gpu_architecture_paged_list.go | 2 +- .../api/inventory/inventory_models/image.go | 2 +- .../inventory/inventory_models/image_core.go | 2 +- .../inventory_models/image_paged_list.go | 2 +- .../inventory_models/image_revision_core.go | 2 +- .../ingredient_and_version.go | 2 +- .../ingredient_and_version_paged_list.go | 2 +- .../ingredient_option_set_core.go | 2 +- .../ingredient_option_set_id_revision.go | 2 +- .../ingredient_option_set_paged_list.go | 2 +- .../ingredient_option_set_revision_core.go | 2 +- .../ingredient_option_set_with_usage_type.go | 2 +- ...t_option_set_with_usage_type_paged_list.go | 2 +- .../inventory_models/ingredient_paged_list.go | 2 +- .../inventory_models/ingredient_update.go | 2 +- .../ingredient_version_and_usage_type.go | 2 +- ...dient_version_and_usage_type_paged_list.go | 2 +- .../ingredient_version_core.go | 2 +- .../ingredient_version_paged_list.go | 2 +- .../ingredient_version_patch_paged_list.go | 2 +- .../ingredient_version_revision_core.go | 2 +- .../ingredient_version_revision_paged_list.go | 2 +- .../ingredient_version_revision_patch.go | 2 +- .../ingredient_version_update.go | 2 +- .../inventory_models/inventory_response.go | 2 +- .../api/inventory/inventory_models/kernel.go | 2 +- .../inventory/inventory_models/kernel_core.go | 2 +- .../inventory_models/kernel_paged_list.go | 2 +- .../inventory_models/kernel_version.go | 2 +- .../inventory_models/kernel_version_core.go | 2 +- .../kernel_version_paged_list.go | 2 +- .../inventory_models/latest_timestamp.go | 2 +- .../api/inventory/inventory_models/libc.go | 2 +- .../inventory/inventory_models/libc_core.go | 2 +- .../inventory_models/libc_paged_list.go | 2 +- .../inventory_models/libc_version.go | 2 +- .../inventory_models/libc_version_core.go | 2 +- .../libc_version_paged_list.go | 2 +- .../inventory/inventory_models/namespace.go | 2 +- .../inventory_models/namespace_core.go | 2 +- .../inventory_models/namespace_paged_list.go | 2 +- .../inventory_models/operating_system.go | 2 +- .../inventory_models/operating_system_core.go | 2 +- .../operating_system_paged_list.go | 2 +- .../operating_system_version.go | 2 +- .../operating_system_version_core.go | 2 +- .../operating_system_version_paged_list.go | 2 +- .../api/inventory/inventory_models/paging.go | 2 +- .../inventory_models/paging_links.go | 2 +- .../inventory_models/patch_paged_list.go | 2 +- .../inventory_models/platform_paged_list.go | 2 +- .../inventory_models/provided_feature.go | 2 +- .../recipe_validation_error_item.go | 2 +- .../inventory_models/requirements.go | 2 +- .../inventory_models/resolved_ingredient.go | 2 +- .../inventory_models/revisioned_resource.go | 2 +- .../inventory/inventory_models/self_link.go | 2 +- .../inventory_models/solution_recipe.go | 2 +- .../solver_incompatibility.go | 2 +- .../solver_remediable_error.go | 2 +- .../inventory_models/solver_remediation.go | 2 +- .../inventory_models/version_info.go | 2 +- .../inventory_models/version_requirement.go | 2 +- pkg/platform/api/mediator/request/cve.go | 12 +- .../api/mediator/request/supportedlangs.go | 6 +- .../authentication/add_token_parameters.go | 8 +- .../authentication/add_token_responses.go | 6 +- .../authentication/authentication_client.go | 64 +-- .../change_password_parameters.go | 8 +- .../change_password_responses.go | 15 +- .../authentication/delete_token_parameters.go | 8 +- .../authentication/delete_token_responses.go | 9 +- .../disable_t_o_t_p_parameters.go | 8 +- .../disable_t_o_t_p_responses.go | 6 +- .../enable_t_o_t_p_parameters.go | 8 +- .../enable_t_o_t_p_responses.go | 6 +- .../get_login_jwt_token_parameters.go | 8 +- .../get_login_jwt_token_responses.go | 9 +- .../authentication/get_logout_parameters.go | 8 +- .../authentication/get_logout_responses.go | 6 +- .../authentication/get_renew_parameters.go | 8 +- .../authentication/get_renew_responses.go | 9 +- .../github_auth_error_parameters.go | 8 +- .../github_auth_error_responses.go | 3 +- .../link_github_account_parameters.go | 8 +- .../link_github_account_responses.go | 3 +- .../authentication/list_tokens_parameters.go | 8 +- .../authentication/list_tokens_responses.go | 6 +- .../authentication/login_as_parameters.go | 8 +- .../authentication/login_as_responses.go | 12 +- .../login_with_github_parameters.go | 8 +- .../login_with_github_responses.go | 3 +- .../authentication/new_t_o_t_p_parameters.go | 8 +- .../authentication/new_t_o_t_p_responses.go | 6 +- .../authentication/post_login_parameters.go | 8 +- .../authentication/post_login_responses.go | 15 +- .../request_reset_parameters.go | 8 +- .../authentication/request_reset_responses.go | 9 +- .../reset_password_parameters.go | 8 +- .../reset_password_responses.go | 12 +- .../signup_with_github_parameters.go | 8 +- .../signup_with_github_responses.go | 3 +- .../unlink_github_account_parameters.go | 8 +- .../unlink_github_account_responses.go | 6 +- .../github/get_logins_and_repos_parameters.go | 8 +- .../github/get_logins_and_repos_responses.go | 12 +- .../get_repo_requirements_parameters.go | 8 +- .../github/get_repo_requirements_responses.go | 12 +- .../mono/mono_client/github/github_client.go | 4 +- .../invoices/calculate_tax_parameters.go | 8 +- .../invoices/calculate_tax_responses.go | 12 +- .../cancel_subscription_parameters.go | 8 +- .../invoices/cancel_subscription_responses.go | 15 +- .../invoices/create_invoice_parameters.go | 8 +- .../invoices/create_invoice_responses.go | 15 +- .../mono_client/invoices/invoices_client.go | 10 +- .../get_organization_limits_parameters.go | 8 +- .../get_organization_limits_responses.go | 12 +- .../mono/mono_client/limits/limits_client.go | 4 +- .../oauth/auth_device_get_parameters.go | 8 +- .../oauth/auth_device_get_responses.go | 16 +- .../oauth/auth_device_post_parameters.go | 8 +- .../oauth/auth_device_post_responses.go | 6 +- .../oauth/auth_device_put_parameters.go | 8 +- .../oauth/auth_device_put_responses.go | 12 +- .../mono/mono_client/oauth/oauth_client.go | 6 +- ...add_organization_auto_invite_parameters.go | 8 +- .../add_organization_auto_invite_responses.go | 9 +- .../add_organization_parameters.go | 8 +- .../add_organization_responses.go | 15 +- .../bulk_invite_organization_parameters.go | 8 +- .../bulk_invite_organization_responses.go | 15 +- .../organizations/delete_invite_parameters.go | 8 +- .../organizations/delete_invite_responses.go | 12 +- ...ete_organization_auto_invite_parameters.go | 8 +- ...lete_organization_auto_invite_responses.go | 12 +- .../delete_organization_parameters.go | 8 +- .../delete_organization_responses.go | 15 +- .../organizations/edit_billing_parameters.go | 8 +- .../organizations/edit_billing_responses.go | 15 +- .../organizations/edit_member_parameters.go | 8 +- .../organizations/edit_member_responses.go | 15 +- .../edit_organization_parameters.go | 8 +- .../edit_organization_responses.go | 15 +- .../get_admin_metadata_parameters.go | 8 +- .../get_admin_metadata_responses.go | 15 +- .../organizations/get_billing_parameters.go | 8 +- .../organizations/get_billing_responses.go | 15 +- .../get_next_mutation_id_parameters.go | 8 +- .../get_next_mutation_id_responses.go | 12 +- ...get_organization_auto_invite_parameters.go | 8 +- .../get_organization_auto_invite_responses.go | 9 +- ...get_organization_invitations_parameters.go | 8 +- .../get_organization_invitations_responses.go | 9 +- .../get_organization_members_parameters.go | 8 +- .../get_organization_members_responses.go | 12 +- .../get_organization_mutations_parameters.go | 8 +- .../get_organization_mutations_responses.go | 12 +- .../get_organization_parameters.go | 8 +- .../get_organization_responses.go | 12 +- .../get_organization_tier_parameters.go | 8 +- .../get_organization_tier_responses.go | 12 +- .../invite_organization_parameters.go | 8 +- .../invite_organization_responses.go | 18 +- .../join_organization_parameters.go | 8 +- .../join_organization_responses.go | 18 +- .../komodo_authorized_parameters.go | 8 +- .../komodo_authorized_responses.go | 12 +- .../list_organizations_parameters.go | 8 +- .../list_organizations_responses.go | 6 +- .../mutate_organization_parameters.go | 8 +- .../mutate_organization_responses.go | 18 +- .../organizations/organizations_client.go | 115 ++--- .../quit_organization_parameters.go | 8 +- .../quit_organization_responses.go | 15 +- .../set_admin_metadata_parameters.go | 8 +- .../set_admin_metadata_responses.go | 15 +- .../update_billing_date_parameters.go | 8 +- .../update_billing_date_responses.go | 18 +- .../projects/add_branch_parameters.go | 8 +- .../projects/add_branch_responses.go | 21 +- .../projects/add_project_parameters.go | 8 +- .../projects/add_project_responses.go | 18 +- .../projects/delete_project_parameters.go | 8 +- .../projects/delete_project_responses.go | 15 +- .../projects/edit_project_parameters.go | 8 +- .../projects/edit_project_responses.go | 18 +- .../projects/fork_project_parameters.go | 8 +- .../projects/fork_project_responses.go | 21 +- .../projects/get_project_by_id_parameters.go | 8 +- .../projects/get_project_by_id_responses.go | 9 +- .../projects/get_project_parameters.go | 8 +- .../projects/get_project_responses.go | 9 +- .../projects/list_projects_parameters.go | 8 +- .../projects/list_projects_responses.go | 9 +- .../projects/move_project_parameters.go | 8 +- .../projects/move_project_responses.go | 21 +- .../mono_client/projects/projects_client.go | 36 +- .../api/mono/mono_client/s3/s3_client.go | 4 +- .../mono_client/s3/sign_s3_uri_parameters.go | 8 +- .../mono_client/s3/sign_s3_uri_responses.go | 12 +- .../mono_client/status/get_info_parameters.go | 8 +- .../mono_client/status/get_info_responses.go | 9 +- .../mono/mono_client/status/status_client.go | 8 +- .../mono_client/status/usage_parameters.go | 8 +- .../mono_client/status/usage_responses.go | 9 +- .../tiers/get_add_ons_parameters.go | 8 +- .../tiers/get_add_ons_responses.go | 9 +- .../mono_client/tiers/get_tiers_parameters.go | 8 +- .../tiers/get_tiers_pricing_parameters.go | 8 +- .../tiers/get_tiers_pricing_responses.go | 12 +- .../mono_client/tiers/get_tiers_responses.go | 12 +- .../tiers/set_add_on_default_parameters.go | 8 +- .../tiers/set_add_on_default_responses.go | 15 +- .../mono/mono_client/tiers/tiers_client.go | 8 +- .../mono_client/users/add_email_parameters.go | 8 +- .../mono_client/users/add_email_responses.go | 21 +- .../mono_client/users/add_user_parameters.go | 8 +- .../mono_client/users/add_user_responses.go | 12 +- .../users/delete_email_parameters.go | 8 +- .../users/delete_email_responses.go | 18 +- .../users/delete_user_parameters.go | 8 +- .../users/delete_user_responses.go | 15 +- .../mono_client/users/edit_user_parameters.go | 8 +- .../mono_client/users/edit_user_responses.go | 15 +- .../users/get_domains_by_user_parameters.go | 8 +- .../users/get_domains_by_user_responses.go | 9 +- .../get_email_verification_link_parameters.go | 8 +- .../get_email_verification_link_responses.go | 15 +- .../users/get_emails_by_user_parameters.go | 8 +- .../users/get_emails_by_user_responses.go | 9 +- .../get_invitation_by_code_parameters.go | 8 +- .../users/get_invitation_by_code_responses.go | 15 +- .../get_invitations_by_user_parameters.go | 8 +- .../get_invitations_by_user_responses.go | 6 +- .../users/get_user_by_id_parameters.go | 8 +- .../users/get_user_by_id_responses.go | 9 +- .../mono_client/users/get_user_parameters.go | 8 +- .../mono_client/users/get_user_responses.go | 9 +- .../users/list_invitations_parameters.go | 8 +- .../users/list_invitations_responses.go | 12 +- .../users/list_users_parameters.go | 8 +- .../mono_client/users/list_users_responses.go | 6 +- .../users/search_emails_parameters.go | 8 +- .../users/search_emails_responses.go | 12 +- .../users/search_usernames_parameters.go | 8 +- .../users/search_usernames_responses.go | 12 +- .../send_email_verification_parameters.go | 8 +- .../send_email_verification_responses.go | 15 +- .../users/set_preferred_email_parameters.go | 8 +- .../users/set_preferred_email_responses.go | 15 +- .../users/unique_username_parameters.go | 8 +- .../users/unique_username_responses.go | 9 +- .../mono/mono_client/users/users_client.go | 76 ++-- .../users/verify_email_parameters.go | 8 +- .../users/verify_email_responses.go | 15 +- .../version_control/add_commit_parameters.go | 8 +- .../version_control/add_commit_responses.go | 18 +- .../version_control/add_tag_parameters.go | 8 +- .../version_control/add_tag_responses.go | 18 +- .../delete_branch_parameters.go | 8 +- .../delete_branch_responses.go | 12 +- .../version_control/edit_tag_parameters.go | 8 +- .../version_control/edit_tag_responses.go | 18 +- .../version_control/get_branch_parameters.go | 8 +- .../version_control/get_branch_responses.go | 6 +- .../get_checkpoint_parameters.go | 8 +- .../get_checkpoint_responses.go | 12 +- .../get_commit_history_parameters.go | 8 +- .../get_commit_history_responses.go | 12 +- .../version_control/get_commit_parameters.go | 8 +- .../version_control/get_commit_responses.go | 12 +- .../get_h_a_repo_parameters.go | 8 +- .../version_control/get_h_a_repo_responses.go | 15 +- .../get_order_from_checkpoint_parameters.go | 8 +- .../get_order_from_checkpoint_responses.go | 6 +- .../version_control/get_order_parameters.go | 8 +- .../version_control/get_order_responses.go | 12 +- .../get_revert_commit_parameters.go | 8 +- .../get_revert_commit_responses.go | 12 +- .../merge_branch_parameters.go | 8 +- .../version_control/merge_branch_responses.go | 18 +- .../merge_commits_parameters.go | 8 +- .../merge_commits_responses.go | 21 +- .../version_control/remove_tag_parameters.go | 8 +- .../version_control/remove_tag_responses.go | 18 +- .../update_branch_parameters.go | 8 +- .../update_branch_responses.go | 18 +- .../version_control/version_control_client.go | 40 +- pkg/platform/api/mono/mono_models/user.go | 20 - pkg/platform/api/svc/request/analytics.go | 4 +- .../api/svc/request/availableupdate.go | 4 +- pkg/platform/api/svc/request/configchanged.go | 6 +- pkg/platform/api/svc/request/deprecation.go | 23 - pkg/platform/api/svc/request/fetchlogtail.go | 7 +- pkg/platform/api/svc/request/messaging.go | 4 +- pkg/platform/api/svc/request/projects.go | 7 +- pkg/platform/api/svc/request/reportrtusage.go | 4 +- pkg/platform/api/svc/request/version.go | 7 +- pkg/platform/model/buildplanner.go | 4 +- pkg/platform/model/inventory.go | 35 +- pkg/platform/model/svc.go | 6 +- pkg/platform/model/vcs.go | 17 +- .../buildexpression/buildexpression.go | 2 +- .../runtime/setup/buildlog/buildlog_test.go | 2 +- test/integration/auth_int_test.go | 2 +- test/integration/fork_int_test.go | 2 +- test/integration/import_int_test.go | 2 +- test/integration/package_int_test.go | 2 +- test/integration/publish_int_test.go | 430 ------------------ test/integration/push_int_test.go | 2 +- 584 files changed, 3125 insertions(+), 3878 deletions(-) delete mode 100644 cmd/state/internal/cmdtree/publish.go create mode 100644 internal/captain/nameversion.go delete mode 100644 internal/captain/values.go delete mode 100644 internal/captain/values_test.go delete mode 100644 internal/runners/publish/publish.go delete mode 100644 pkg/platform/api/graphql/model/publish.go delete mode 100644 pkg/platform/api/graphql/request/publish.go delete mode 100644 pkg/platform/api/svc/request/deprecation.go delete mode 100644 test/integration/publish_int_test.go diff --git a/cmd/state/internal/cmdtree/bundles.go b/cmd/state/internal/cmdtree/bundles.go index bd6efd37dd..c12e8f4e79 100644 --- a/cmd/state/internal/cmdtree/bundles.go +++ b/cmd/state/internal/cmdtree/bundles.go @@ -82,7 +82,7 @@ func newBundleUninstallCommand(prime *primer.Values) *captain.Command { { Name: locale.T("bundle_arg_name"), Description: locale.T("bundle_arg_name_description"), - Value: ¶ms.Package, + Value: ¶ms.Name, Required: true, }, }, @@ -118,7 +118,7 @@ func newBundlesSearchCommand(prime *primer.Values) *captain.Command { { Name: locale.T("bundle_arg_name"), Description: locale.T("bundle_arg_name_description"), - Value: ¶ms.Ingredient, + Value: ¶ms.Name, Required: true, }, }, diff --git a/cmd/state/internal/cmdtree/cmdtree.go b/cmd/state/internal/cmdtree/cmdtree.go index 2d4dd05a0a..f4f9167db9 100644 --- a/cmd/state/internal/cmdtree/cmdtree.go +++ b/cmd/state/internal/cmdtree/cmdtree.go @@ -206,7 +206,6 @@ func New(prime *primer.Values, args ...string) *CmdTree { newSwitchCommand(prime), newTestCommand(prime), //newCommitCommand(prime), // re-enable in DX-2307 - newPublish(prime), ) return &CmdTree{ @@ -231,7 +230,6 @@ var ( VCSGroup = captain.NewCommandGroup(locale.Tl("group_vcs", "Version Control"), 5) AutomationGroup = captain.NewCommandGroup(locale.Tl("group_automation", "Automation"), 4) UtilsGroup = captain.NewCommandGroup(locale.Tl("group_utils", "Utilities"), 3) - AuthorGroup = captain.NewCommandGroup(locale.Tl("group_author", "Author"), 6) ) func newGlobalOptions() *globalOptions { diff --git a/cmd/state/internal/cmdtree/packages.go b/cmd/state/internal/cmdtree/packages.go index ab0fa1b344..f3c172a019 100644 --- a/cmd/state/internal/cmdtree/packages.go +++ b/cmd/state/internal/cmdtree/packages.go @@ -58,13 +58,7 @@ func newInstallCommand(prime *primer.Values) *captain.Command { locale.Tl("package_install_title", "Installing Package"), locale.T("package_install_cmd_description"), prime, - []*captain.Flag{ - { - Name: "ts", - Description: locale.T("package_flag_ts_description"), - Value: ¶ms.Timestamp, - }, - }, + []*captain.Flag{}, []*captain.Argument{ { Name: locale.T("package_arg_nameversion"), @@ -94,7 +88,7 @@ func newUninstallCommand(prime *primer.Values) *captain.Command { { Name: locale.T("package_arg_name"), Description: locale.T("package_arg_name_description"), - Value: ¶ms.Package, + Value: ¶ms.Name, Required: true, }, }, @@ -151,17 +145,12 @@ func newSearchCommand(prime *primer.Values) *captain.Command { Description: locale.T("package_search_flag_exact-term_description"), Value: ¶ms.ExactTerm, }, - { - Name: "ts", - Description: locale.T("package_search_flag_ts_description"), - Value: ¶ms.Timestamp, - }, }, []*captain.Argument{ { Name: locale.T("package_arg_name"), Description: locale.T("package_arg_name_description"), - Value: ¶ms.Ingredient, + Value: ¶ms.Name, Required: true, }, }, @@ -187,11 +176,6 @@ func newInfoCommand(prime *primer.Values) *captain.Command { Description: locale.T("package_info_flag_language_description"), Value: ¶ms.Language, }, - { - Name: "ts", - Description: locale.T("package_flag_ts_description"), - Value: ¶ms.Timestamp, - }, }, []*captain.Argument{ { diff --git a/cmd/state/internal/cmdtree/publish.go b/cmd/state/internal/cmdtree/publish.go deleted file mode 100644 index 43ebe5312a..0000000000 --- a/cmd/state/internal/cmdtree/publish.go +++ /dev/null @@ -1,97 +0,0 @@ -package cmdtree - -import ( - "github.com/ActiveState/cli/internal/captain" - "github.com/ActiveState/cli/internal/locale" - "github.com/ActiveState/cli/internal/primer" - "github.com/ActiveState/cli/internal/runners/publish" -) - -func newPublish(prime *primer.Values) *captain.Command { - runner := publish.New(prime) - params := publish.Params{} - c := captain.NewCommand( - "publish", - locale.Tl("add_title", "Publish Ingredient"), - locale.Tl("add_description", "Publish an Ingredient for private consumption."), - prime, - []*captain.Flag{ - { - Name: "edit", - Description: locale.Tl("author_upload_edit_description", "Create a revision for an existing ingredient, matched by their name and namespace."), - Value: ¶ms.Edit, - }, - { - Name: "editor", - Description: locale.Tl("author_upload_editor_description", "Edit the ingredient information in your editor before uploading."), - Value: ¶ms.Editor, - }, - { - Name: "name", - Description: locale.Tl( - "author_upload_name_description", - "The name of the ingredient. Defaults to basename of filepath.", - ), - Value: ¶ms.Name, - }, - { - Name: "version", - Description: locale.Tl( - "author_upload_version_description", - "Version of the ingredient (preferably semver).", - ), - Value: ¶ms.Version, - }, - { - Name: "namespace", - Description: locale.Tl( - "author_upload_namespace_description", - "The namespace of the ingredient. Defaults to org/. Must start with 'org/'.", - ), - Value: ¶ms.Namespace, - }, - { - Name: "description", - Description: locale.Tl( - "author_upload_description_description", - "A short description summarizing what this ingredient is for.", - ), - Value: ¶ms.Description, - }, - { - Name: "author", - Description: locale.Tl( - "author_upload_author_description", - "Ingredient author, in the format of \"[] \". Can be set multiple times.", - ), - Value: ¶ms.Authors, - }, - { - Name: "depend", - Description: locale.Tl( - "author_upload_depend_description", - "Ingredient that this ingredient depends on, format as /[@]. Can be set multiple times.", - ), - Value: ¶ms.Depends, - }, - { - Name: "meta", - Description: locale.Tl("author_upload_metafile_description", "A yaml file expressing the ingredient meta information. Use --editor to review the file format."), - Value: ¶ms.MetaFilepath, - }, - }, - []*captain.Argument{ - { - Name: locale.Tl("filepath", "filepath"), - Description: locale.Tl("author_upload_filepath_description", "A tar.gz or zip archive containing the source files of the ingredient."), - Value: ¶ms.Filepath, - Required: true, - }, - }, - func(_ *captain.Command, _ []string) error { - return runner.Run(¶ms) - }) - c.SetGroup(AuthorGroup) - c.SetUnstable(true) - return c -} diff --git a/go.mod b/go.mod index c1ccdf7c8b..9a561d963e 100644 --- a/go.mod +++ b/go.mod @@ -128,7 +128,7 @@ require ( github.com/opentracing/opentracing-go v1.2.0 // indirect github.com/pelletier/go-toml v1.7.0 // indirect github.com/pierrec/lz4 v2.6.1+incompatible // indirect - github.com/pkg/errors v0.9.1 + github.com/pkg/errors v0.9.1 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0 // indirect diff --git a/internal/assets/contents/usage.tpl b/internal/assets/contents/usage.tpl index 8e6f6b3540..28e899c35e 100644 --- a/internal/assets/contents/usage.tpl +++ b/internal/assets/contents/usage.tpl @@ -21,14 +21,6 @@ Examples: {{- end }} {{- childCommands .Cmd}} -{{- if gt (len .Cmd.Arguments) 0}} - -Arguments: -{{- range .Cmd.Arguments }} - <{{ .Name }}> {{ if .Required }} {{ else }}(optional){{ end }} {{ .Description }} -{{- end }} -{{- end }} - {{- if .Cobra.HasAvailableFlags}} Flags: @@ -39,7 +31,13 @@ Flags: Global Flags: {{.Cobra.InheritedFlags.FlagUsages | trimTrailingWhitespaces}} {{- end}} +{{- if gt (len .Cmd.Arguments) 0}} +Arguments: + {{- range .Cmd.Arguments }} + <{{ .Name }}> {{ if .Required }} {{ else }}(optional){{ end }} {{ .Description }} + {{- end }} +{{- end}} {{- if .Cobra.HasHelpSubCommands}} Additional help topics: diff --git a/internal/captain/flag.go b/internal/captain/flag.go index 2d39a98f99..15e49c2093 100644 --- a/internal/captain/flag.go +++ b/internal/captain/flag.go @@ -7,10 +7,13 @@ import ( "strings" "github.com/ActiveState/cli/internal/errs" - "github.com/spf13/pflag" ) -type FlagMarshaler pflag.Value +type FlagMarshaler interface { + String() string + Set(string) error + Type() string +} // Flag is used to define flags in our Command struct type Flag struct { @@ -35,10 +38,6 @@ func (c *Command) setFlags(flags []*Flag) error { switch v := flag.Value.(type) { case nil: return errs.New("flag value must not be nil (%v)", flag) - case *[]string: - flagSetter().StringSliceVarP( - v, flag.Name, flag.Shorthand, *v, flag.Description, - ) case *string: flagSetter().StringVarP( v, flag.Name, flag.Shorthand, *v, flag.Description, @@ -57,7 +56,7 @@ func (c *Command) setFlags(flags []*Flag) error { ) default: return errs.New( - fmt.Sprintf("Unknown type for flag %s: %s (%v)", flag.Name, reflect.TypeOf(v).Name(), v), + fmt.Sprintf("Unknown type: %s (%v)"+reflect.TypeOf(v).Name(), v), ) } diff --git a/internal/captain/nameversion.go b/internal/captain/nameversion.go new file mode 100644 index 0000000000..e79071fb8a --- /dev/null +++ b/internal/captain/nameversion.go @@ -0,0 +1,40 @@ +package captain + +import ( + "fmt" + "strings" + + "github.com/ActiveState/cli/internal/locale" +) + +type NameVersion struct { + name string + version string +} + +func (nv *NameVersion) Set(arg string) error { + nameArg := strings.Split(arg, "@") + nv.name = nameArg[0] + if len(nameArg) == 2 { + nv.version = nameArg[1] + } + if len(nameArg) > 2 { + return locale.NewInputError("name_version_format_err", "Invalid format: Should be ") + } + return nil +} + +func (nv *NameVersion) String() string { + if nv.version == "" { + return nv.name + } + return fmt.Sprintf("%s@%s", nv.name, nv.version) +} + +func (nv *NameVersion) Name() string { + return nv.name +} + +func (nv *NameVersion) Version() string { + return nv.version +} diff --git a/internal/captain/values.go b/internal/captain/values.go deleted file mode 100644 index 50445efb27..0000000000 --- a/internal/captain/values.go +++ /dev/null @@ -1,258 +0,0 @@ -package captain - -import ( - "fmt" - "strings" - "time" - - "github.com/ActiveState/cli/internal/errs" - "github.com/ActiveState/cli/internal/locale" - "github.com/ActiveState/cli/internal/rtutils/ptr" -) - -// NameVersionValue represents a flag that supports both a name and a version, the following formats are supported: -// - name -// - name@version -type NameVersionValue struct { - name string - version string -} - -var _ FlagMarshaler = &NameVersionValue{} - -func (nv *NameVersionValue) Set(arg string) error { - nameArg := strings.Split(arg, "@") - nv.name = nameArg[0] - if len(nameArg) == 2 { - nv.version = nameArg[1] - } - if len(nameArg) > 2 { - return locale.NewInputError("name_version_format_err", "Invalid format: Should be ") - } - return nil -} - -func (nv *NameVersionValue) String() string { - if nv.version == "" { - return nv.name - } - return fmt.Sprintf("%s@%s", nv.name, nv.version) -} - -func (nv *NameVersionValue) Name() string { - return nv.name -} - -func (nv *NameVersionValue) Version() string { - return nv.version -} - -func (nv *NameVersionValue) Type() string { - return "name and version" -} - -// UserValue represents a flag that supports both a name and an email address, the following formats are supported: -// - name -// - email -// Emails are detected simply by containing a @ symbol. -type UserValue struct { - Name string - Email string -} - -var _ FlagMarshaler = &UserValue{} - -func (u *UserValue) String() string { - switch { - case u.Name != "" && u.Email != "": - return fmt.Sprintf("%s <%s>", u.Name, u.Email) - case u.Email != "": - return fmt.Sprintf("<%s>", u.Email) - } - return u.Name -} - -func (u *UserValue) Set(s string) error { - if strings.Contains(s, "<") { - v := strings.Split(s, "<") - u.Name = strings.TrimSpace(v[0]) - u.Email = strings.TrimRight(strings.TrimSpace(v[1]), ">") - return nil - } - - if strings.Contains(s, "@") { - u.Email = strings.TrimSpace(s) - u.Name = strings.Split(u.Email, "@")[0] - return nil - } - - return locale.NewInputError("uservalue_format", "Invalid format: Should be 'name ' or ''") -} - -func (u *UserValue) Type() string { - return "user" -} - -// UsersValue is used to represent multiple UserValue, this is used when a flag can be passed multiple times. -type UsersValue []UserValue - -var _ FlagMarshaler = &UsersValue{} - -func (u *UsersValue) String() string { - var result []string - for _, user := range *u { - result = append(result, user.String()) - } - return strings.Join(result, ", ") -} - -func (u *UsersValue) Set(s string) error { - uf := &UserValue{} - if err := uf.Set(s); err != nil { - return err - } - *u = append(*u, *uf) - return nil -} - -func (u *UsersValue) Type() string { - return "users" -} - -// PackageValue represents a flag that supports specifying a package in the following formats: -// - -// - / -// - /@ -type PackageValue struct { - Namespace string - Name string - Version string -} - -var _ FlagMarshaler = &PackageValue{} - -func (p *PackageValue) String() string { - if p.Namespace == "" && p.Name == "" { - return "" - } - name := p.Name - if p.Namespace != "" { - name = fmt.Sprintf("%s/%s", p.Namespace, p.Name) - } - if p.Version == "" { - return name - } - return fmt.Sprintf("%s@%s", name, p.Version) -} - -func (p *PackageValue) Set(s string) error { - if strings.Contains(s, "@") { - v := strings.Split(s, "@") - p.Version = strings.TrimSpace(v[1]) - s = v[0] - } - if strings.Index(s, "/") == -1 { - p.Name = strings.TrimSpace(s) - return nil - } - v := strings.Split(s, "/") - p.Namespace = strings.TrimSpace(strings.Join(v[0:len(v)-1], "/")) - p.Name = strings.TrimSpace(v[len(v)-1]) - return nil -} - -func (p *PackageValue) Type() string { - return "package" -} - -// PackageValueNoVersion is identical to PackageValue except that it does not support a version. -type PackageValueNoVersion struct { - PackageValue -} - -func (p *PackageValueNoVersion) Set(s string) error { - if err := p.PackageValue.Set(s); err != nil { - return errs.Wrap(err, "PackageValue.Set failed") - } - if p.Version != "" { - return fmt.Errorf("Specifying a version is not supported, package format should be '[/]'") - } - return nil -} - -func (p *PackageValueNoVersion) Type() string { - return "package" -} - -// PackageValueNSRequired is identical to PackageValue except that specifying a namespace is required. -type PackageValueNSRequired struct { - PackageValue -} - -func (p *PackageValueNSRequired) Set(s string) error { - if err := p.PackageValue.Set(s); err != nil { - return errs.Wrap(err, "PackageValueNSRequired.Set failed") - } - if p.Namespace == "" { - return fmt.Errorf("invalid package name format: %s (expected '/[@version]')", s) - } - return nil -} -func (p *PackageValueNSRequired) Type() string { - return "namespace/package" -} - -// PackagesValue is used to represent multiple PackageValue, this is used when a flag can be passed multiple times. -type PackagesValue []PackageValue - -var _ FlagMarshaler = &PackagesValue{} - -func (p *PackagesValue) String() string { - var result []string - for _, pkg := range *p { - result = append(result, pkg.String()) - } - return strings.Join(result, ", ") -} - -func (p *PackagesValue) Set(s string) error { - pf := &PackageValue{} - if err := pf.Set(s); err != nil { - return err - } - *p = append(*p, *pf) - return nil -} - -func (p *PackagesValue) Type() string { - return "packages" -} - -type TimeValue struct { - raw string - Time *time.Time -} - -var _ FlagMarshaler = &TimeValue{} - -func (u *TimeValue) String() string { - return u.raw -} - -func (u *TimeValue) Set(v string) error { - if v == "now" { - u.Time = ptr.To(time.Now()) - } else { - u.raw = v - tsv, err := time.Parse(time.RFC3339, v) - if err != nil { - return locale.WrapInputError(err, "timeflag_format", "Invalid timestamp: Should be RFC3339 formatted.") - } - u.Time = &tsv - } - return nil -} - -func (u *TimeValue) Type() string { - return "timestamp" -} diff --git a/internal/captain/values_test.go b/internal/captain/values_test.go deleted file mode 100644 index 307dc19bec..0000000000 --- a/internal/captain/values_test.go +++ /dev/null @@ -1,137 +0,0 @@ -package captain - -import ( - "reflect" - "testing" -) - -func TestUserValue_Set(t *testing.T) { - tests := []struct { - name string - flagValue string - want *UserValue - wantErr bool - }{ - { - "name and email", - "John Doe ", - &UserValue{Name: "John Doe", Email: "john@doe.org"}, - false, - }, - { - "email only", - "john@doe.org", - &UserValue{Name: "john", Email: "john@doe.org"}, - false, - }, - { - "name only", - "john", - &UserValue{}, - true, - }, - } - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - u := &UserValue{} - if err := u.Set(tt.flagValue); (err != nil) != tt.wantErr { - t.Errorf("Set() error = %v, wantErr %v", err, tt.wantErr) - } - if !reflect.DeepEqual(u, tt.want) { - t.Fatalf("got %+v, want %+v", u, tt.want) - } - }) - } -} - -func TestPackageValue_Set(t *testing.T) { - tests := []struct { - name string - flagValue string - wantErr bool - want *PackageValue - }{ - { - "namespace, name and version", - "namespace/path/name@1.0.0", - false, - &PackageValue{Namespace: "namespace/path", Name: "name", Version: "1.0.0"}, - }, - { - "namespace and name", - "namespace/path/name", - false, - &PackageValue{Namespace: "namespace/path", Name: "name"}, - }, - { - "name only", - "name", - false, - &PackageValue{Name: "name"}, - }, - { - "name and version only", - "name@1.0.0", - false, - &PackageValue{Name: "name", Version: "1.0.0"}, - }, - } - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - p := &PackageValue{} - if err := p.Set(tt.flagValue); (err != nil) != tt.wantErr { - t.Errorf("Set() error = %v, wantErr %v", err, tt.wantErr) - return - } - if !reflect.DeepEqual(p, tt.want) { - t.Fatalf("got %+v, want %+v", p, tt.want) - } - }) - } -} - -func TestPackageFlagNSRequired_Set(t *testing.T) { - tests := []struct { - name string - flagValue string - wantErr bool - want *PackageValueNSRequired - }{ - { - "namespace, name and version", - "namespace/path/name@1.0.0", - false, - &PackageValueNSRequired{PackageValue{Namespace: "namespace/path", Name: "name", Version: "1.0.0"}}, - }, - { - "namespace and name", - "namespace/path/name", - false, - &PackageValueNSRequired{PackageValue{Namespace: "namespace/path", Name: "name"}}, - }, - { - "name only", - "name", - true, - &PackageValueNSRequired{PackageValue{}}, - }, - { - "name and version only", - "name@1.0.0", - true, - &PackageValueNSRequired{PackageValue{}}, - }, - } - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - p := &PackageValueNSRequired{} - if err := p.Set(tt.flagValue); (err != nil) != tt.wantErr { - t.Errorf("Set() error = %v, wantErr %v", err, tt.wantErr) - return - } - if !tt.wantErr && !reflect.DeepEqual(p, tt.want) { - t.Fatalf("got %#v, want %#v", p, tt.want) - } - }) - } -} diff --git a/internal/constants/constants.go b/internal/constants/constants.go index e66771bbef..cc519cd6ef 100644 --- a/internal/constants/constants.go +++ b/internal/constants/constants.go @@ -273,9 +273,6 @@ const GraphqlAPIPath = "/graphql/v1/graphql" // MediatorAPIPath is the path used for the platform mediator api const MediatorAPIPath = "/sv/mediator/api" -// BuildplanAPIPath is the path used for the build planner api -const BuildplanAPIPath = "/sv/buildplanner/graphql" - // RequirementsImportAPIPath is the path used for the requirements import api const RequirementsImportAPIPath = "/sv/reqsvc/reqs" diff --git a/internal/fileutils/fileutils.go b/internal/fileutils/fileutils.go index e287e825db..9b9032b1ab 100644 --- a/internal/fileutils/fileutils.go +++ b/internal/fileutils/fileutils.go @@ -831,16 +831,16 @@ func CopySymlink(src, dest string) error { // TempFileUnsafe returns a tempfile handler or panics if it cannot be created // This is for use in tests, do not use it outside tests! -func TempFileUnsafe(dir, pattern string) *os.File { - f, err := ioutil.TempFile(dir, pattern) +func TempFileUnsafe() *os.File { + f, err := ioutil.TempFile("", "") if err != nil { panic(fmt.Sprintf("Could not create tempFile: %v", err)) } return f } -func TempFilePathUnsafe(dir, pattern string) string { - f := TempFileUnsafe(dir, pattern) +func TempFilePathUnsafe() string { + f := TempFileUnsafe() defer f.Close() return f.Name() } diff --git a/internal/fileutils/replace_bench_test.go b/internal/fileutils/replace_bench_test.go index b31c9a4023..5baf56f25b 100644 --- a/internal/fileutils/replace_bench_test.go +++ b/internal/fileutils/replace_bench_test.go @@ -40,7 +40,7 @@ func BenchmarkRead(b *testing.B) { newPath := "def/ghi" byts := setup(oldPath, newPath, "/bin/python.sh", true) - testFile := TempFileUnsafe("", "") + testFile := TempFileUnsafe() _, err := testFile.Write(byts) if err != nil { b.Errorf("failed to write test file: %v", err) @@ -138,7 +138,7 @@ func BenchmarkWrite(b *testing.B) { b.ResetTimer() for n := 0; n < b.N; n++ { - f := TempFileUnsafe("", "") + f := TempFileUnsafe() defer func() { f.Close() os.Remove(f.Name()) diff --git a/internal/gqlclient/gqlclient.go b/internal/gqlclient/gqlclient.go index d79a946aff..c34520d8a0 100644 --- a/internal/gqlclient/gqlclient.go +++ b/internal/gqlclient/gqlclient.go @@ -1,93 +1,33 @@ package gqlclient import ( - "bytes" "context" "encoding/json" "fmt" - "io" - "mime/multipart" - "net/http" "os" - "strings" "time" "github.com/ActiveState/cli/internal/constants" "github.com/ActiveState/cli/internal/errs" "github.com/ActiveState/cli/internal/logging" "github.com/ActiveState/cli/internal/profile" - "github.com/ActiveState/cli/internal/singleton/uniqid" "github.com/ActiveState/cli/internal/strutils" "github.com/ActiveState/cli/pkg/platform/api" "github.com/ActiveState/graphql" - "github.com/pkg/errors" -) - -type File struct { - Field string - Name string - R io.Reader -} -type Request0 interface { - Query() string - Vars() map[string]interface{} -} + "github.com/ActiveState/cli/internal/singleton/uniqid" +) type Request interface { Query() string - Vars() (map[string]interface{}, error) -} - -type RequestWithFiles interface { - Request - Files() []File + Vars() map[string]interface{} } type Header map[string][]string -type graphqlClient = graphql.Client - -// StandardizedErrors works around API's that don't follow the graphql standard -// It looks redundant because it needs to address two different API responses. -// https://activestatef.atlassian.net/browse/PB-4291 -type StandardizedErrors struct { - Message string - Error string - Errors []graphErr -} - -func (e StandardizedErrors) HasErrors() bool { - return len(e.Errors) > 0 || e.Error != "" -} - -// Values tells us all the relevant error messages returned. -// We don't include e.Error because it's an unhelpful generic error code redundant with the message. -func (e StandardizedErrors) Values() []string { - var errs []string - for _, err := range e.Errors { - errs = append(errs, err.Message) - } - if e.Message != "" { - errs = append(errs, e.Message) - } - return errs -} - -type graphResponse struct { - Data interface{} - Error string - Message string - Errors []graphErr -} +type graphqlRequest = graphql.Request -type graphErr struct { - Message string -} - -func (e graphErr) Error() string { - return "graphql: " + e.Message -} +type graphqlClient = graphql.Client type BearerTokenProvider interface { BearerToken() string @@ -95,7 +35,6 @@ type BearerTokenProvider interface { type Client struct { *graphqlClient - url string tokenProvider BearerTokenProvider timeout time.Duration } @@ -108,7 +47,6 @@ func NewWithOpts(url string, timeout time.Duration, opts ...graphql.ClientOption client := &Client{ graphqlClient: graphql.NewClient(url, opts...), timeout: timeout, - url: url, } if os.Getenv(constants.DebugServiceRequestsEnvVarName) == "true" { client.EnableDebugLog() @@ -152,27 +90,11 @@ func (c *Client) Run(request Request, response interface{}) error { func (c *Client) RunWithContext(ctx context.Context, request Request, response interface{}) error { name := strutils.Summarize(request.Query(), 25) defer profile.Measure(fmt.Sprintf("gqlclient:RunWithContext:(%s)", name), time.Now()) - - if fileRequest, ok := request.(RequestWithFiles); ok { - return c.runWithFiles(ctx, fileRequest, response) - } - - vars, err := request.Vars() - if err != nil { - return errs.Wrap(err, "Could not get variables") - } - graphRequest := graphql.NewRequest(request.Query()) - for key, value := range vars { + for key, value := range request.Vars() { graphRequest.Var(key, value) } - if fileRequest, ok := request.(RequestWithFiles); ok { - for _, file := range fileRequest.Files() { - graphRequest.File(file.Field, file.Name, file.R) - } - } - var bearerToken string if c.tokenProvider != nil { bearerToken = c.tokenProvider.BearerToken() @@ -183,114 +105,9 @@ func (c *Client) RunWithContext(ctx context.Context, request Request, response i graphRequest.Header.Set("X-Requestor", uniqid.Text()) - if err := c.graphqlClient.Run(ctx, graphRequest, &response); err != nil { - return NewRequestError(err, request) - } - - return nil -} - -type JsonRequest struct { - Query string `json:"query"` - Variables map[string]interface{} `json:"variables"` -} - -func (c *Client) runWithFiles(ctx context.Context, gqlReq RequestWithFiles, response interface{}) error { - // Construct the multi-part request. - bodyReader, bodyWriter := io.Pipe() - - req, err := http.NewRequest("POST", c.url, bodyReader) + err := c.graphqlClient.Run(ctx, graphRequest, &response) if err != nil { - return errs.Wrap(err, "Could not create http request") - } - - req.Body = bodyReader - - mw := multipart.NewWriter(bodyWriter) - req.Header.Set("Content-Type", "multipart/form-data; boundary="+mw.Boundary()) - - vars, err := gqlReq.Vars() - if err != nil { - return errs.Wrap(err, "Could not get variables") - } - - varJson, err := json.Marshal(vars) - if err != nil { - return errs.Wrap(err, "Could not marshal vars") - } - - reqErrChan := make(chan error) - go func() { - defer bodyWriter.Close() - defer mw.Close() - defer close(reqErrChan) - - // Operations - operations, err := mw.CreateFormField("operations") - if err != nil { - reqErrChan <- errs.Wrap(err, "Could not create form field operations") - return - } - - jsonReq := JsonRequest{ - Query: gqlReq.Query(), - Variables: vars, - } - jsonReqV, err := json.Marshal(jsonReq) - if err != nil { - reqErrChan <- errs.Wrap(err, "Could not marshal json request") - return - } - if _, err := operations.Write(jsonReqV); err != nil { - reqErrChan <- errs.Wrap(err, "Could not write json request") - return - } - - // Map - if len(gqlReq.Files()) > 0 { - mapField, err := mw.CreateFormField("map") - if err != nil { - reqErrChan <- errs.Wrap(err, "Could not create form field map") - return - } - for n, f := range gqlReq.Files() { - if _, err := mapField.Write([]byte(fmt.Sprintf(`{"%d": ["%s"]}`, n, f.Field))); err != nil { - reqErrChan <- errs.Wrap(err, "Could not write map field") - return - } - } - // File upload - for n, file := range gqlReq.Files() { - part, err := mw.CreateFormFile(fmt.Sprintf("%d", n), file.Name) - if err != nil { - reqErrChan <- errs.Wrap(err, "Could not create form file") - return - } - - _, err = io.Copy(part, file.R) - if err != nil { - reqErrChan <- errs.Wrap(err, "Could not read file") - return - } - } - } - }() - - c.Log(fmt.Sprintf(">> query: %s", gqlReq.Query())) - c.Log(fmt.Sprintf(">> variables: %s", string(varJson))) - fnames := []string{} - for _, file := range gqlReq.Files() { - fnames = append(fnames, fmt.Sprintf("%s", file.Name)) - } - c.Log(fmt.Sprintf(">> files: %v", fnames)) - - // Run the request. - var bearerToken string - if c.tokenProvider != nil { - bearerToken = c.tokenProvider.BearerToken() - if bearerToken != "" { - req.Header.Set("Authorization", "Bearer "+bearerToken) - } + return NewRequestError(err, request) } if os.Getenv(constants.DebugServiceRequestsEnvVarName) == "true" { responseData, err := json.MarshalIndent(response, "", " ") @@ -300,64 +117,5 @@ func (c *Client) runWithFiles(ctx context.Context, gqlReq RequestWithFiles, resp logging.Debug("gqlclient: response: %s", responseData) } - gr := &graphResponse{ - Data: response, - } - req = req.WithContext(ctx) - c.Log(fmt.Sprintf(">> Raw Request: %s\n", req.URL.String())) - - var res *http.Response - resErrChan := make(chan error) - go func() { - var err error - res, err = http.DefaultClient.Do(req) - resErrChan <- err - }() - - // Due to the streaming uploads the request error can happen both before and after the http request itself, hence - // the creative select case you see before you. - wait := true - for wait { - select { - case err := <-reqErrChan: - if err != nil { - c.Log(fmt.Sprintf("Request Error: %s", err)) - return err - } - case err := <-resErrChan: - wait = false - if err != nil { - c.Log(fmt.Sprintf("Response Error: %s", err)) - return err - } - } - } - - if res == nil { - return errs.New("Received empty response") - } - - defer res.Body.Close() - var buf bytes.Buffer - if _, err := io.Copy(&buf, res.Body); err != nil { - c.Log(fmt.Sprintf("Read Error: %s", err)) - return errors.Wrap(err, "reading body") - } - resp := buf.Bytes() - c.Log(fmt.Sprintf("<< Response code: %d, body: %s\n", res.StatusCode, string(resp))) - - // Work around API's that don't follow the graphql standard - // https://activestatef.atlassian.net/browse/PB-4291 - standardizedErrors := StandardizedErrors{} - if err := json.Unmarshal(resp, &standardizedErrors); err != nil { - return errors.Wrap(err, "decoding error response") - } - if standardizedErrors.HasErrors() { - return errs.New(strings.Join(standardizedErrors.Values(), "\n")) - } - - if err := json.Unmarshal(resp, &gr); err != nil { - return errors.Wrap(err, "decoding response") - } return nil } diff --git a/internal/locale/locales/en-us.yaml b/internal/locale/locales/en-us.yaml index 2582009493..0f471fce1e 100644 --- a/internal/locale/locales/en-us.yaml +++ b/internal/locale/locales/en-us.yaml @@ -590,7 +590,7 @@ package_info_cmd_description: package_arg_name: other: name package_arg_name_description: - other: Package name, optionally with namespace, eg. '[/]'. + other: Package name package_info_flag_language_description: other: The language used to constrain package information selection bundle_arg_name: @@ -600,7 +600,7 @@ bundle_arg_name_description: package_arg_nameversion: other: name[@version] package_arg_nameversion_description: - other: Package name and optionally the desired version, optionally with namespace, eg. '[/]'. + other: Package name and optionally the desired version bundle_arg_nameversion: other: name[@version] bundle_arg_nameversion_description: @@ -611,10 +611,6 @@ package_list_flag_name_description: other: The filter for package names to include in the listing namespace_list_flag_project_description: other: The namespace packages should be listed from -package_search_flag_ns_description: - other: The namespace to search within. This trumps the language flag. -package_flag_ts_description: - other: The timestamp at which you want to query. Can be either 'now' or RFC3339 formatted timestamp. package_search_flag_language_description: other: The language used to constrain search results package_search_flag_exact-term_description: @@ -1487,18 +1483,3 @@ err_searchingredient_toomany: other: Too many ingredients match the query '[ACTIONABLE]{{.V0}}[/RESET]', please try to be more specific. alternative_unknown_pkg_name: other: unknown -err_uploadingredient_edit_version_required: - other: When editing you must always provide a new version number. -err_uploadingredient_edit_version_different: - other: You did not provide a unique version number. Make sure the version number you provided has not been used before. -err_uploadingredient_edit_description_not_supported: - other: Editing an ingredient description is not yet supported. -uploadingredient_editor_opening: - other: | - Opening editor to edit ingredient meta information. Alternatively you may manually edit the following file: [ACTIONABLE]{{.V0}}[/RESET]. -uploadingredient_success: - other: | - Successfully published as: - Ingredient ID: [[ACTIONABLE]{{.V0}}[/RESET] - Ingredient Version ID: [ACTIONABLE]{{.V1}}[/RESET] - Revision: [ACTIONABLE]{{.V2}}[/RESET] diff --git a/internal/runbits/requirements/requirements.go b/internal/runbits/requirements/requirements.go index 479271424c..db324d83d6 100644 --- a/internal/runbits/requirements/requirements.go +++ b/internal/runbits/requirements/requirements.go @@ -4,11 +4,8 @@ import ( "fmt" "strconv" "strings" - "time" "github.com/ActiveState/cli/internal/analytics" - "github.com/thoas/go-funk" - anaConsts "github.com/ActiveState/cli/internal/analytics/constants" "github.com/ActiveState/cli/internal/captain" "github.com/ActiveState/cli/internal/config" @@ -30,14 +27,15 @@ import ( "github.com/ActiveState/cli/pkg/platform/model" "github.com/ActiveState/cli/pkg/platform/runtime/target" "github.com/ActiveState/cli/pkg/project" + "github.com/thoas/go-funk" ) type PackageVersion struct { - captain.NameVersionValue + captain.NameVersion } func (pv *PackageVersion) Set(arg string) error { - err := pv.NameVersionValue.Set(arg) + err := pv.NameVersion.Set(arg) if err != nil { return locale.WrapInputError(err, "err_package_format", "The package and version provided is not formatting correctly, must be in the form of @") } @@ -84,15 +82,11 @@ type ErrNoMatches struct { Alternatives *string } -// ExecuteRequirementOperation executes the operation on the requirement -// This has become quite unwieldy, and is ripe for a refactor - https://activestatef.atlassian.net/browse/DX-1897 -// For now, be aware that you should never provide BOTH ns AND nsType, one or the other should always be nil, but never both. -// The refactor should clean this up. -func (r *RequirementOperation) ExecuteRequirementOperation( - requirementName, requirementVersion string, - operation bpModel.Operation, ns *model.Namespace, nsType *model.NamespaceType, ts *time.Time) (rerr error) { +func (r *RequirementOperation) ExecuteRequirementOperation(requirementName, requirementVersion string, + requirementBitWidth int, operation bpModel.Operation, nsType model.NamespaceType) (rerr error) { defer r.rationalizeError(&rerr) + var ns model.Namespace var langVersion string langName := "undetermined" @@ -114,26 +108,28 @@ func (r *RequirementOperation) ExecuteRequirementOperation( } out.Notice(locale.Tr("operating_message", r.Project.NamespaceString(), r.Project.Dir())) - if nsType != nil { - switch *nsType { - case model.NamespacePackage, model.NamespaceBundle: - commitID, err := commitmediator.Get(r.Project) - if err != nil { - return errs.Wrap(err, "Unable to get local commit") - } + switch nsType { + case model.NamespacePackage, model.NamespaceBundle: + commitID, err := commitmediator.Get(r.Project) + if err != nil { + return errs.Wrap(err, "Unable to get local commit") + } - language, err := model.LanguageByCommit(commitID) - if err == nil { - langName = language.Name - ns = ptr.To(model.NewNamespacePkgOrBundle(langName, *nsType)) - } else { - logging.Debug("Could not get language from project: %v", err) - } + language, err := model.LanguageByCommit(commitID) + if err == nil { + langName = language.Name + ns = model.NewNamespacePkgOrBundle(langName, nsType) + } else { + logging.Debug("Could not get language from project: %v", err) } + case model.NamespaceLanguage: + ns = model.NewNamespaceLanguage() + case model.NamespacePlatform: + ns = model.NewNamespacePlatform() } var validatePkg = operation == bpModel.OperationAdded && (ns.Type() == model.NamespacePackage || ns.Type() == model.NamespaceBundle) - if (ns == nil || !ns.IsValid()) && nsType != nil && (*nsType == model.NamespacePackage || *nsType == model.NamespaceBundle) { + if !ns.IsValid() && (nsType == model.NamespacePackage || nsType == model.NamespaceBundle) { pg = output.StartSpinner(out, locale.Tr("progress_pkg_nolang", requirementName), constants.TerminalAnimationInterval) supported, err := model.FetchSupportedLanguages(model.HostPlatform) @@ -141,13 +137,11 @@ func (r *RequirementOperation) ExecuteRequirementOperation( return errs.Wrap(err, "Failed to retrieve the list of supported languages") } - var nsv model.Namespace var supportedLang *medmodel.SupportedLanguage - requirementName, nsv, supportedLang, err = resolvePkgAndNamespace(r.Prompt, requirementName, *nsType, supported, ts) + requirementName, ns, supportedLang, err = resolvePkgAndNamespace(r.Prompt, requirementName, nsType, supported) if err != nil { return errs.Wrap(err, "Could not resolve pkg and namespace") } - ns = &nsv langVersion = supportedLang.DefaultVersion langName = supportedLang.Name @@ -157,10 +151,6 @@ func (r *RequirementOperation) ExecuteRequirementOperation( pg = nil } - if ns == nil { - return locale.NewError("err_package_invalid_namespace_detected", "No valid namespace could be detected") - } - if strings.ToLower(requirementVersion) == latestVersion { requirementVersion = "" } @@ -169,18 +159,18 @@ func (r *RequirementOperation) ExecuteRequirementOperation( if validatePkg { pg = output.StartSpinner(out, locale.Tr("progress_search", requirementName), constants.TerminalAnimationInterval) - normalized, err := model.FetchNormalizedName(*ns, requirementName) + normalized, err := model.FetchNormalizedName(ns, requirementName) if err != nil { multilog.Error("Failed to normalize '%s': %v", requirementName, err) } - packages, err := model.SearchIngredientsStrict(ns.String(), normalized, false, false, nil) // ideally case-sensitive would be true (PB-4371) + packages, err := model.SearchIngredientsStrict(ns, normalized, false, false) // ideally case-sensitive would be true (PB-4371) if err != nil { return locale.WrapError(err, "package_err_cannot_obtain_search_results") } if len(packages) == 0 { - suggestions, err := getSuggestions(*ns, requirementName) + suggestions, err := getSuggestions(ns, requirementName) if err != nil { multilog.Error("Failed to retrieve suggestions: %v", err) } @@ -212,7 +202,7 @@ func (r *RequirementOperation) ExecuteRequirementOperation( // Check if this is an addition or an update if operation == bpModel.OperationAdded && parentCommitID != "" { - req, err := model.GetRequirement(parentCommitID, *ns, requirementName) + req, err := model.GetRequirement(parentCommitID, ns, requirementName) if err != nil { return errs.Wrap(err, "Could not get requirement") } @@ -233,17 +223,12 @@ func (r *RequirementOperation) ExecuteRequirementOperation( } } - if ts == nil { - latest, err := model.FetchLatestTimeStamp() - if err != nil { - return errs.Wrap(err, "Could not fetch latest timestamp") - } - ts = &latest + latest, err := model.FetchLatestTimeStamp() + if err != nil { + return errs.Wrap(err, "Could not fetch latest timestamp") } - // MUST ADDRESS: we're no longer passing bitwidth, but this needs it. Need to figure out why. - requirementBitWidth := -1 - name, version, err := model.ResolveRequirementNameAndVersion(requirementName, requirementVersion, requirementBitWidth, *ns) + name, version, err := model.ResolveRequirementNameAndVersion(requirementName, requirementVersion, requirementBitWidth, ns) if err != nil { return errs.Wrap(err, "Could not resolve requirement name and version") } @@ -257,12 +242,12 @@ func (r *RequirementOperation) ExecuteRequirementOperation( Owner: r.Project.Owner(), Project: r.Project.Name(), ParentCommit: string(parentCommitID), - Description: commitMessage(operation, name, version, *ns, requirementBitWidth), + Description: commitMessage(operation, name, version, ns, requirementBitWidth), RequirementName: name, RequirementVersion: requirements, - RequirementNamespace: *ns, + RequirementNamespace: ns, Operation: operation, - TimeStamp: ts, + TimeStamp: latest, } bp := model.NewBuildPlannerModel(r.Auth) @@ -347,11 +332,11 @@ func supportedLanguageByName(supported []medmodel.SupportedLanguage, langName st return funk.Find(supported, func(l medmodel.SupportedLanguage) bool { return l.Name == langName }).(medmodel.SupportedLanguage) } -func resolvePkgAndNamespace(prompt prompt.Prompter, packageName string, nsType model.NamespaceType, supported []medmodel.SupportedLanguage, ts *time.Time) (string, model.Namespace, *medmodel.SupportedLanguage, error) { +func resolvePkgAndNamespace(prompt prompt.Prompter, packageName string, nsType model.NamespaceType, supported []medmodel.SupportedLanguage) (string, model.Namespace, *medmodel.SupportedLanguage, error) { ns := model.NewBlankNamespace() // Find ingredients that match the input query - ingredients, err := model.SearchIngredientsStrict("", packageName, false, false, ts) + ingredients, err := model.SearchIngredientsStrict(model.NewBlankNamespace(), packageName, false, false) if err != nil { return "", ns, nil, locale.WrapError(err, "err_pkgop_search_err", "Failed to check for ingredients.") } @@ -400,7 +385,7 @@ func resolvePkgAndNamespace(prompt prompt.Prompter, packageName string, nsType m } func getSuggestions(ns model.Namespace, name string) ([]string, error) { - results, err := model.SearchIngredients(ns.String(), name, false, nil) + results, err := model.SearchIngredients(ns, name, false) if err != nil { return []string{}, locale.WrapError(err, "package_ingredient_err_search", "Failed to resolve ingredient named: {{.V0}}", name) } diff --git a/internal/runners/initialize/init.go b/internal/runners/initialize/init.go index 12ba69d66d..7c719a4ddf 100644 --- a/internal/runners/initialize/init.go +++ b/internal/runners/initialize/init.go @@ -251,7 +251,7 @@ func (r *Initialize) Run(params *RunParams) (rerr error) { Language: lang.Requirement(), Version: version, Private: params.Private, - Timestamp: timestamp, + Timestamp: *timestamp, Description: locale.T("commit_message_add_initial"), }) if err != nil { diff --git a/internal/runners/languages/install.go b/internal/runners/languages/install.go index 01e9002189..61e39be327 100644 --- a/internal/runners/languages/install.go +++ b/internal/runners/languages/install.go @@ -70,7 +70,7 @@ func (u *Update) Run(params *UpdateParams) error { return errs.Wrap(err, "Could not create requirement operation.") } - err = op.ExecuteRequirementOperation(lang.Name, lang.Version, bpModel.OperationAdded, nil, &model.NamespaceLanguage, nil) + err = op.ExecuteRequirementOperation(lang.Name, lang.Version, 0, bpModel.OperationAdded, model.NamespaceLanguage) if err != nil { return locale.WrapError(err, "err_language_update", "Could not update language: {{.V0}}", lang.Name) } diff --git a/internal/runners/packages/info.go b/internal/runners/packages/info.go index cc00de4009..01aaa75ae7 100644 --- a/internal/runners/packages/info.go +++ b/internal/runners/packages/info.go @@ -4,12 +4,10 @@ import ( "fmt" "strconv" - "github.com/ActiveState/cli/internal/captain" "github.com/ActiveState/cli/internal/errs" "github.com/ActiveState/cli/internal/locale" "github.com/ActiveState/cli/internal/logging" "github.com/ActiveState/cli/internal/output" - "github.com/ActiveState/cli/internal/rtutils/ptr" "github.com/ActiveState/cli/pkg/platform/api/inventory/inventory_models" "github.com/ActiveState/cli/pkg/platform/model" "github.com/ActiveState/cli/pkg/project" @@ -18,9 +16,8 @@ import ( // InfoRunParams tracks the info required for running Info. type InfoRunParams struct { - Package captain.PackageValue - Timestamp captain.TimeValue - Language string + Package PackageVersion + Language string } // Info manages the information execution context. @@ -41,24 +38,15 @@ func NewInfo(prime primeable) *Info { func (i *Info) Run(params InfoRunParams, nstype model.NamespaceType) error { logging.Debug("ExecuteInfo") - var nsTypeV *model.NamespaceType - var ns *model.Namespace + language, err := targetedLanguage(params.Language, i.proj) + if err != nil { - if params.Package.Namespace != "" { - ns = ptr.To(model.NewRawNamespace(params.Package.Namespace)) - } else { - nsTypeV = &nstype + return locale.WrapError(err, fmt.Sprintf("%s_err_cannot_obtain_language", nstype)) } - if nsTypeV != nil { - language, err := targetedLanguage(params.Language, i.proj) - if err != nil { - return locale.WrapError(err, fmt.Sprintf("%s_err_cannot_obtain_language", *nsTypeV)) - } - ns = ptr.To(model.NewNamespacePkgOrBundle(language, nstype)) - } + ns := model.NewNamespacePkgOrBundle(language, nstype) - packages, err := model.SearchIngredientsStrict(ns.String(), params.Package.Name, true, true, params.Timestamp.Time) + packages, err := model.SearchIngredientsStrict(ns, params.Package.Name(), true, true) if err != nil { return locale.WrapError(err, "package_err_cannot_obtain_search_results") } @@ -74,10 +62,10 @@ func (i *Info) Run(params InfoRunParams, nstype model.NamespaceType) error { pkg := packages[0] ingredientVersion := pkg.LatestVersion - if params.Package.Version != "" { - ingredientVersion, err = specificIngredientVersion(pkg.Ingredient.IngredientID, params.Package.Version) + if params.Package.Version() != "" { + ingredientVersion, err = specificIngredientVersion(pkg.Ingredient.IngredientID, params.Package.Version()) if err != nil { - return locale.WrapInputError(err, "info_err_version_not_found", "Could not find version {{.V0}} for package {{.V1}}", params.Package.Version, params.Package.Name) + return locale.WrapInputError(err, "info_err_version_not_found", "Could not find version {{.V0}} for package {{.V1}}", params.Package.Version(), params.Package.Name()) } } @@ -86,12 +74,12 @@ func (i *Info) Run(params InfoRunParams, nstype model.NamespaceType) error { return locale.WrapError(err, "package_err_cannot_obtain_authors_info", "Cannot obtain authors info") } - i.out.Print(&infoOutput{i.out, structuredOutput{ - pkg.Ingredient, - ingredientVersion, - authors, - pkg.Versions, - }}) + res := newInfoResult(pkg.Ingredient, ingredientVersion, authors, pkg.Versions) + i.out.Print(&infoOutput{ + i.out, + res, + whatsNextMessages(res.name, res.Versions), + }) return nil } @@ -115,8 +103,8 @@ func specificIngredientVersion(ingredientID *strfmt.UUID, version string) (*inve type PkgDetailsTable struct { Authors []string `locale:"package_authors,Authors" json:"authors"` Website string `locale:"package_website,Website" json:"website"` - copyright string // `locale:"package_copyright,Copyright" json:"copyright"` - license string // `locale:"package_license,License" json:"license"` + copyright string //`locale:"package_copyright,Copyright" json:"copyright"` + license string //`locale:"package_license,License" json:"license"` } type infoResult struct { @@ -179,21 +167,14 @@ func newInfoResult(ingredient *inventory_models.Ingredient, ingredientVersion *i return &res } -type structuredOutput struct { - Ingredient *inventory_models.Ingredient `json:"ingredient"` - IngredientVersion *inventory_models.IngredientVersion `json:"ingredient_version"` - Authors model.Authors `json:"authors"` - Versions []*inventory_models.SearchIngredientsResponseVersion `json:"versions"` -} - type infoOutput struct { - out output.Outputer - so structuredOutput + out output.Outputer + res *infoResult + next []string } -func (o *infoOutput) MarshalOutput(_ output.Format) interface{} { - res := newInfoResult(o.so.Ingredient, o.so.IngredientVersion, o.so.Authors, o.so.Versions) - print := o.out.Print +func (o *infoOutput) MarshalOutput(format output.Format) interface{} { + print, res := o.out.Print, o.res { print(output.Title( locale.Tl( @@ -224,14 +205,14 @@ func (o *infoOutput) MarshalOutput(_ output.Format) interface{} { { print(output.Title(locale.Tl("packages_info_next_header", "What's next?"))) - print(whatsNextMessages(res.name, res.Versions)) + print(o.next) } return output.Suppress } -func (o *infoOutput) MarshalStructured(_ output.Format) interface{} { - return o.so +func (o *infoOutput) MarshalStructured(format output.Format) interface{} { + return o.res } func whatsNextMessages(name string, versions []string) []string { diff --git a/internal/runners/packages/install.go b/internal/runners/packages/install.go index 209505131e..47e62b44fe 100644 --- a/internal/runners/packages/install.go +++ b/internal/runners/packages/install.go @@ -2,17 +2,28 @@ package packages import ( "github.com/ActiveState/cli/internal/captain" + "github.com/ActiveState/cli/internal/locale" "github.com/ActiveState/cli/internal/logging" - "github.com/ActiveState/cli/internal/rtutils/ptr" "github.com/ActiveState/cli/internal/runbits/requirements" bpModel "github.com/ActiveState/cli/pkg/platform/api/buildplanner/model" "github.com/ActiveState/cli/pkg/platform/model" ) +type PackageVersion struct { + captain.NameVersion +} + +func (pv *PackageVersion) Set(arg string) error { + err := pv.NameVersion.Set(arg) + if err != nil { + return locale.WrapInputError(err, "err_package_format", "The package and version provided is not formatting correctly, must be in the form of @") + } + return nil +} + // InstallRunParams tracks the info required for running Install. type InstallRunParams struct { - Package captain.PackageValue - Timestamp captain.TimeValue + Package PackageVersion } // Install manages the installing execution context. @@ -28,23 +39,12 @@ func NewInstall(prime primeable) *Install { // Run executes the install behavior. func (a *Install) Run(params InstallRunParams, nsType model.NamespaceType) (rerr error) { defer rationalizeError(a.prime.Auth(), &rerr) - - var nsTypeV *model.NamespaceType - var ns *model.Namespace - logging.Debug("ExecuteInstall") - if params.Package.Namespace != "" { - ns = ptr.To(model.NewRawNamespace(params.Package.Namespace)) - } else { - nsTypeV = &nsType - } - return requirements.NewRequirementOperation(a.prime).ExecuteRequirementOperation( - params.Package.Name, - params.Package.Version, + params.Package.Name(), + params.Package.Version(), + 0, bpModel.OperationAdded, - ns, - nsTypeV, - params.Timestamp.Time, + nsType, ) } diff --git a/internal/runners/packages/search.go b/internal/runners/packages/search.go index 49dc611d4d..d1b96698ba 100644 --- a/internal/runners/packages/search.go +++ b/internal/runners/packages/search.go @@ -5,7 +5,6 @@ import ( "strconv" "strings" - "github.com/ActiveState/cli/internal/captain" "github.com/ActiveState/cli/internal/errs" "github.com/ActiveState/cli/internal/locale" "github.com/ActiveState/cli/internal/logging" @@ -17,10 +16,9 @@ import ( // SearchRunParams tracks the info required for running search. type SearchRunParams struct { - Language string - ExactTerm bool - Ingredient captain.PackageValueNoVersion - Timestamp captain.TimeValue + Language string + ExactTerm bool + Name string } // Search manages the searching execution context. @@ -41,37 +39,30 @@ func NewSearch(prime primeable) *Search { func (s *Search) Run(params SearchRunParams, nstype model.NamespaceType) error { logging.Debug("ExecuteSearch") - var ns model.Namespace - if params.Ingredient.Namespace == "" { - language, err := targetedLanguage(params.Language, s.proj) - if err != nil { - return locale.WrapError(err, fmt.Sprintf("%s_err_cannot_obtain_language", nstype)) - } - - ns = model.NewNamespacePkgOrBundle(language, nstype) - } else { - ns = model.NewRawNamespace(params.Ingredient.Namespace) + language, err := targetedLanguage(params.Language, s.proj) + if err != nil { + return locale.WrapError(err, fmt.Sprintf("%s_err_cannot_obtain_language", nstype)) } - var err error + ns := model.NewNamespacePkgOrBundle(language, nstype) + var packages []*model.IngredientAndVersion if params.ExactTerm { - packages, err = model.SearchIngredientsStrict(ns.String(), params.Ingredient.Name, true, true, params.Timestamp.Time) + packages, err = model.SearchIngredientsStrict(ns, params.Name, true, true) } else { - packages, err = model.SearchIngredients(ns.String(), params.Ingredient.Name, true, params.Timestamp.Time) + packages, err = model.SearchIngredients(ns, params.Name, true) } if err != nil { return locale.WrapError(err, "package_err_cannot_obtain_search_results") } if len(packages) == 0 { return errs.AddTips( - locale.NewInputError("err_search_no_"+ns.Type().String(), "", params.Ingredient.Name), + locale.NewInputError("err_search_no_"+ns.Type().String(), "", params.Name), locale.Tl("search_try_term", "Try a different search term"), locale.Tl("search_request_"+ns.Type().String(), ""), ) } - - s.out.Print(output.Prepare(formatSearchResults(packages, params.Ingredient.Namespace != ""), packages)) + s.out.Print(formatSearchResults(packages)) return nil } @@ -150,7 +141,7 @@ type searchPackageRow struct { type searchOutput []searchPackageRow -func formatSearchResults(packages []*model.IngredientAndVersion, showNamespace bool) *searchOutput { +func formatSearchResults(packages []*model.IngredientAndVersion) *searchOutput { rows := make(searchOutput, len(packages)) filterNilStr := func(s *string) string { @@ -161,12 +152,8 @@ func formatSearchResults(packages []*model.IngredientAndVersion, showNamespace b } for i, pack := range packages { - name := filterNilStr(pack.Ingredient.Name) - if showNamespace { - name = fmt.Sprintf("%s/%s", *pack.Ingredient.PrimaryNamespace, name) - } row := searchPackageRow{ - Pkg: name, + Pkg: filterNilStr(pack.Ingredient.Name), Version: pack.Version, versions: len(pack.Versions), Modules: makeModules(pack.Ingredient.NormalizedName, pack), diff --git a/internal/runners/packages/uninstall.go b/internal/runners/packages/uninstall.go index 31898d01d6..ff2f559ae2 100644 --- a/internal/runners/packages/uninstall.go +++ b/internal/runners/packages/uninstall.go @@ -1,9 +1,7 @@ package packages import ( - "github.com/ActiveState/cli/internal/captain" "github.com/ActiveState/cli/internal/logging" - "github.com/ActiveState/cli/internal/rtutils/ptr" "github.com/ActiveState/cli/internal/runbits/rationalize" "github.com/ActiveState/cli/internal/runbits/requirements" bpModel "github.com/ActiveState/cli/pkg/platform/api/buildplanner/model" @@ -12,7 +10,7 @@ import ( // UninstallRunParams tracks the info required for running Uninstall. type UninstallRunParams struct { - Package captain.PackageValueNoVersion + Name string } // Uninstall manages the uninstalling execution context. @@ -33,21 +31,11 @@ func (u *Uninstall) Run(params UninstallRunParams, nsType model.NamespaceType) ( return rationalize.ErrNoProject } - var nsTypeV *model.NamespaceType - var ns *model.Namespace - - if params.Package.Namespace != "" { - ns = ptr.To(model.NewRawNamespace(params.Package.Namespace)) - } else { - nsTypeV = &nsType - } - return requirements.NewRequirementOperation(u.prime).ExecuteRequirementOperation( - params.Package.Name, + params.Name, "", + 0, bpModel.OperationRemoved, - ns, - nsTypeV, - nil, + nsType, ) } diff --git a/internal/runners/platforms/add.go b/internal/runners/platforms/add.go index 1a8724dee0..9b7cb37de7 100644 --- a/internal/runners/platforms/add.go +++ b/internal/runners/platforms/add.go @@ -52,10 +52,9 @@ func (a *Add) Run(ps AddRunParams) error { if err := requirements.NewRequirementOperation(a.prime).ExecuteRequirementOperation( params.name, params.version, + params.BitWidth, bpModel.OperationAdded, - nil, - &model.NamespacePlatform, - nil, + model.NamespacePlatform, ); err != nil { return locale.WrapError(err, "err_add_platform", "Could not add platform.") } diff --git a/internal/runners/platforms/platforms.go b/internal/runners/platforms/platforms.go index 34076c614e..0a42c910cd 100644 --- a/internal/runners/platforms/platforms.go +++ b/internal/runners/platforms/platforms.go @@ -13,11 +13,11 @@ import ( ) type PlatformVersion struct { - captain.NameVersionValue + captain.NameVersion } func (pv *PlatformVersion) Set(arg string) error { - err := pv.NameVersionValue.Set(arg) + err := pv.NameVersion.Set(arg) if err != nil { return locale.WrapInputError(err, "err_platform_format", "The platform and version provided is not formatting correctly, must be in the form of @") } diff --git a/internal/runners/platforms/remove.go b/internal/runners/platforms/remove.go index 0961b2b5bf..acc3c20f7a 100644 --- a/internal/runners/platforms/remove.go +++ b/internal/runners/platforms/remove.go @@ -42,10 +42,9 @@ func (r *Remove) Run(ps RemoveRunParams) error { if err := requirements.NewRequirementOperation(r.prime).ExecuteRequirementOperation( params.name, params.version, + params.BitWidth, bpModel.OperationRemoved, - nil, - &model.NamespacePlatform, - nil, + model.NamespacePlatform, ); err != nil { return locale.WrapError(err, "err_remove_platform", "Could not remove platform.") } diff --git a/internal/runners/publish/publish.go b/internal/runners/publish/publish.go deleted file mode 100644 index a552a4415a..0000000000 --- a/internal/runners/publish/publish.go +++ /dev/null @@ -1,348 +0,0 @@ -package publish - -import ( - "net/http" - "path/filepath" - "strconv" - "strings" - "time" - - "github.com/ActiveState/cli/internal/captain" - "github.com/ActiveState/cli/internal/errs" - "github.com/ActiveState/cli/internal/fileutils" - "github.com/ActiveState/cli/internal/gqlclient" - "github.com/ActiveState/cli/internal/locale" - "github.com/ActiveState/cli/internal/output" - "github.com/ActiveState/cli/internal/primer" - "github.com/ActiveState/cli/internal/prompt" - "github.com/ActiveState/cli/internal/rtutils/ptr" - "github.com/ActiveState/cli/pkg/platform/api" - graphModel "github.com/ActiveState/cli/pkg/platform/api/graphql/model" - "github.com/ActiveState/cli/pkg/platform/api/graphql/request" - auth "github.com/ActiveState/cli/pkg/platform/authentication" - "github.com/ActiveState/cli/pkg/platform/model" - "github.com/ActiveState/cli/pkg/project" - "github.com/ActiveState/graphql" - "github.com/skratchdot/open-golang/open" - "gopkg.in/yaml.v3" -) - -type Params struct { - Name string - Version string - Namespace string - Owner string - Description string - Authors captain.UsersValue - Depends captain.PackagesValue - Filepath string - MetaFilepath string - Edit bool - Editor bool -} - -type Runner struct { - auth *auth.Auth - out output.Outputer - prompt prompt.Prompter - project *project.Project - client *gqlclient.Client -} - -type primeable interface { - primer.Outputer - primer.Auther - primer.Projecter - primer.Prompter -} - -func New(prime primeable) *Runner { - client := gqlclient.NewWithOpts( - api.GetServiceURL(api.ServiceBuildPlanner).String(), 0, - graphql.WithHTTPClient(http.DefaultClient), - graphql.UseMultipartForm(), - ) - client.EnableDebugLog() - client.SetTokenProvider(prime.Auth()) - client.EnableDebugLog() - return &Runner{auth: prime.Auth(), out: prime.Output(), prompt: prime.Prompt(), project: prime.Project(), client: client} -} - -func (r *Runner) Run(params *Params) error { - if !r.auth.Authenticated() { - return locale.NewInputError("err_auth_required") - } - - if params.Filepath != "" { - if !fileutils.FileExists(params.Filepath) { - return locale.NewInputError("err_uploadingredient_file_not_found", "File not found: {{.V0}}", params.Filepath) - } - if !strings.HasSuffix(strings.ToLower(params.Filepath), ".zip") && - !strings.HasSuffix(strings.ToLower(params.Filepath), ".tar.gz") { - return locale.NewInputError("err_uploadingredient_file_not_supported", "Expected file extension to be either .zip or .tar.gz: '{{.V0}}'", params.Filepath) - } - } else if !params.Edit { - return locale.NewInputError("err_uploadingredient_file_required", "You have to supply the source archive unless editing.") - } - - reqVars := request.PublishVariables{} - - // Pass input from meta file - if params.MetaFilepath != "" { - if !fileutils.TargetExists(params.MetaFilepath) { - return locale.NewInputError("err_uploadingredient_metafile_not_found", "Meta file not found: {{.V0}}", params.MetaFilepath) - } - - b, err := fileutils.ReadFile(params.MetaFilepath) - if err != nil { - return locale.WrapInputError(err, "err_uploadingredient_file_read", "Could not read file: {{.V0}}", params.MetaFilepath) - } - - if err := yaml.Unmarshal(b, &reqVars); err != nil { - return locale.WrapInputError(err, "err_uploadingredient_file_read", "Failed to unmarshal meta file, error received: {{.V0}}", err.Error()) - } - } - - // Namespace - if params.Namespace != "" { - reqVars.Namespace = params.Namespace - } else if reqVars.Namespace == "" && r.project != nil && r.project.Owner() != "" { - reqVars.Namespace = model.NewOrgNamespace(r.project.Owner()).String() - } - - // Name - if params.Name != "" { // Validate & Set name - reqVars.Name = params.Name - } else if reqVars.Name == "" { - reqVars.Name = filepath.Base(params.Filepath) - } - - ts := time.Now() - ingredients, err := model.SearchIngredientsStrict(reqVars.Namespace, reqVars.Name, true, false, &ts) - if err != nil && !errs.Matches(err, &model.ErrSearch404{}) { // 404 means either the ingredient or the namespace was not found, which is fine - return locale.WrapError(err, "err_uploadingredient_search", "Could not search for ingredient") - } - var ingredient *model.IngredientAndVersion - - if params.Edit { - if len(ingredients) == 0 { - return locale.NewInputError("err_uploadingredient_edit_not_found", - "Could not find ingredient to edit with name: '[ACTIONABLE]{{.V0}}[/RESET]', namespace: '[ACTIONABLE]{{.V1}}[/RESET]'.", - reqVars.Name, reqVars.Namespace) - } - ingredient = ingredients[0] - if err := prepareEditRequest(ingredient, &reqVars); err != nil { - return errs.Wrap(err, "Could not prepare edit request") - } - } else { - if len(ingredients) > 0 { - return locale.NewInputError("err_uploadingredient_exists", - "Ingredient with namespace '[ACTIONABLE]{{.V0}}[/RESET]' and name '[ACTIONABLE]{{.V1}}[/RESET]' already exists. "+ - "To edit an existing ingredient you need to pass the '[ACTIONABLE]--edit[/RESET]' flag.", - reqVars.Namespace, reqVars.Name) - } - } - - if err := prepareRequestFromParams(&reqVars, params); err != nil { - return errs.Wrap(err, "Could not prepare request from params") - } - - if params.Editor { - if !r.out.Config().Interactive { - return locale.NewInputError("err_uploadingredient_editor_not_supported", "Opening in editor is not supported in non-interactive mode") - } - if err := r.OpenInEditor(&reqVars); err != nil { - return err - } - } - - // Validate user input - if params.Edit { - // Validate that the version input is valid - // https://activestatef.atlassian.net/browse/DX-1885 - if reqVars.Version == "" { - return locale.NewInputError("err_uploadingredient_edit_version_required") - } else { - for _, v := range ingredient.Versions { - if reqVars.Version == v.Version { - return locale.NewInputError("err_uploadingredient_edit_version_different") - } - } - } - - // Description is not currently supported for edit - // https://activestatef.atlassian.net/browse/DX-1886 - if reqVars.Description != ptr.From(ingredient.Ingredient.Description, "") { - return locale.NewInputError("err_uploadingredient_edit_description_not_supported") - } - - if reqVars.Namespace == "" { - return locale.NewInputError("err_uploadingredient_namespace_required", "You have to supply the namespace when working outside of a project context") - } - } - - b, err := reqVars.MarshalYaml(false) - if err != nil { - return errs.Wrap(err, "Could not marshal publish variables") - } - - cont, err := r.prompt.Confirm( - "", - locale.Tl("uploadingredient_confirm", `Publish following ingredient? -{{.V0}} - -`, string(b)), - ptr.To(true), - ) - if err != nil { - return errs.Wrap(err, "Confirmation failed") - } - if !cont { - r.out.Print(locale.Tl("uploadingredient_cancel", "Publish cancelled")) - return nil - } - - r.out.Notice(locale.Tl("uploadingredient_uploading", "Publishing ingredient...")) - - pr, err := request.Publish(reqVars, params.Filepath) - if err != nil { - return locale.WrapError(err, "err_uploadingredient_publish", "Could not create publish request") - } - result := graphModel.PublishResult{} - - if err := r.client.Run(pr, &result); err != nil { - return locale.WrapError(err, "err_uploadingredient_publish", "Could not publish ingredient") - } - - if result.Publish.Error != "" { - return locale.NewError("err_uploadingredient_publish_api", "API responded with error: {{.V0}}", result.Publish.Error) - } - - r.out.Print(output.Prepare( - locale.Tl( - "uploadingredient_success", "", - result.Publish.IngredientID, - result.Publish.IngredientVersionID, - strconv.Itoa(result.Publish.Revision), - ), - result.Publish, - )) - - return nil -} - -func prepareRequestFromParams(r *request.PublishVariables, params *Params) error { - if params.Version != "" { - r.Version = params.Version - } - if r.Version == "" { - r.Version = "0.0.1" - } - - if params.Description != "" { - r.Description = params.Description - } - if r.Description == "" { - r.Description = "not provided" - } - - if len(params.Authors) != 0 { - r.Authors = []request.PublishVariableAuthor{} - for _, author := range params.Authors { - r.Authors = append(r.Authors, request.PublishVariableAuthor{ - Name: author.Name, - Email: author.Email, - }) - } - } - - if len(params.Depends) != 0 { - r.Dependencies = []request.PublishVariableDep{} - for _, dep := range params.Depends { - r.Dependencies = append( - r.Dependencies, - request.PublishVariableDep{request.Dependency{Name: dep.Name, Namespace: dep.Namespace}, []request.Dependency{}}, - ) - } - } - - return nil -} - -func prepareEditRequest(ingredient *model.IngredientAndVersion, r *request.PublishVariables) error { - authors, err := model.FetchAuthors(ingredient.Ingredient.IngredientID, ingredient.LatestVersion.IngredientVersionID) - if err != nil { - return locale.WrapError(err, "err_uploadingredient_fetch_authors", "Could not fetch authors for ingredient") - } - - r.Version = ptr.From(ingredient.LatestVersion.Version, "") - r.Description = ptr.From(ingredient.Ingredient.Description, "") - - if len(authors) > 0 { - r.Authors = []request.PublishVariableAuthor{} - for _, author := range authors { - var websites []string - for _, w := range author.Websites { - websites = append(websites, w.String()) - } - r.Authors = append(r.Authors, request.PublishVariableAuthor{ - Name: ptr.From(author.Name, ""), - Email: author.Email.String(), - Websites: websites, - }) - } - } - - if len(ingredient.LatestVersion.Dependencies) > 0 { - r.Dependencies = []request.PublishVariableDep{} - for _, dep := range ingredient.LatestVersion.Dependencies { - r.Dependencies = append( - r.Dependencies, - request.PublishVariableDep{request.Dependency{ - Name: ptr.From(dep.Feature, ""), - Namespace: ptr.From(dep.Namespace, ""), - VersionRequirements: dep.OriginalRequirement, - }, []request.Dependency{}}, - ) - } - } - - return nil -} - -func (r *Runner) OpenInEditor(pr *request.PublishVariables) error { - // Prepare file for editing - b, err := pr.MarshalYaml(true) - if err != nil { - return locale.WrapError(err, "err_uploadingredient_publish", "Could not marshal publish request") - } - b = append([]byte("# Edit the following file and confirm in your terminal when done\n"), b...) - fn, err := fileutils.WriteTempFile("*.ingredient.yaml", b) - if err != nil { - return locale.WrapError(err, "err_uploadingredient_publish", "Could not write publish request to file") - } - - r.out.Notice(locale.Tr("uploadingredient_editor_opening", fn)) - - // Open file - if err := open.Start(fn); err != nil { - return locale.WrapError(err, "err_uploadingredient_publish", "Could not open publish request file") - } - - // Wait for confirmation - if _, err := r.prompt.Input("", locale.Tl("uploadingredient_edit_confirm", "Press enter when done editing"), ptr.To("")); err != nil { - return errs.Wrap(err, "Confirmation failed") - } - - eb, err := fileutils.ReadFile(fn) - if err != nil { - return errs.Wrap(err, "Could not read file") - } - - // Write changes to request - if err := pr.UnmarshalYaml(eb); err != nil { - return locale.WrapError(err, "err_uploadingredient_publish", "Could not unmarshal publish request") - } - - return nil -} diff --git a/internal/runners/update/lock.go b/internal/runners/update/lock.go index 02f1a9b069..d1d7685850 100644 --- a/internal/runners/update/lock.go +++ b/internal/runners/update/lock.go @@ -17,13 +17,12 @@ import ( ) // var _ captain.FlagMarshaler = (*StateToolChannelVersion)(nil) - type StateToolChannelVersion struct { - captain.NameVersionValue + captain.NameVersion } func (stv *StateToolChannelVersion) Set(arg string) error { - err := stv.NameVersionValue.Set(arg) + err := stv.NameVersion.Set(arg) if err != nil { return locale.WrapInputError( err, diff --git a/internal/subshell/sscommon/rcfile_test.go b/internal/subshell/sscommon/rcfile_test.go index c88ffb24d4..3fe2d5d3f2 100644 --- a/internal/subshell/sscommon/rcfile_test.go +++ b/internal/subshell/sscommon/rcfile_test.go @@ -32,7 +32,7 @@ func fakeContents(before, contents, after string) string { } func fakeFileWithContents(before, contents, after string) string { - f := fileutils.TempFileUnsafe("", "") + f := fileutils.TempFileUnsafe() defer f.Close() f.WriteString(fakeContents(before, contents, after)) return f.Name() diff --git a/internal/testhelpers/e2e/session.go b/internal/testhelpers/e2e/session.go index d2022faac0..229fe42cf3 100644 --- a/internal/testhelpers/e2e/session.go +++ b/internal/testhelpers/e2e/session.go @@ -57,7 +57,7 @@ type Session struct { createdProjects []*project.Namespaced // users created during session users []string - T *testing.T + t *testing.T Exe string SvcExe string ExecutorExe string @@ -118,24 +118,24 @@ func (s *Session) CopyExeToDir(from, to string) string { var err error to, err = filepath.Abs(filepath.Join(to, filepath.Base(from))) if err != nil { - s.T.Fatal(err) + s.t.Fatal(err) } if fileutils.TargetExists(to) { return to } err = fileutils.CopyFile(from, to) - require.NoError(s.T, err, "Could not copy %s to %s", from, to) + require.NoError(s.t, err, "Could not copy %s to %s", from, to) // Ensure modTime is the same as source exe stat, err := os.Stat(from) - require.NoError(s.T, err) + require.NoError(s.t, err) t := stat.ModTime() - require.NoError(s.T, os.Chtimes(to, t, t)) + require.NoError(s.t, os.Chtimes(to, t, t)) permissions, _ := permbits.Stat(to) permissions.SetUserExecute(true) - require.NoError(s.T, permbits.Chmod(to, permissions)) + require.NoError(s.t, permbits.Chmod(to, permissions)) return to } @@ -224,7 +224,7 @@ func new(t *testing.T, retainDirs, updatePath bool, extraEnv ...string) *Session // add session environment variables env = append(env, extraEnv...) - session := &Session{Dirs: dirs, Env: env, retainDirs: retainDirs, T: t} + session := &Session{Dirs: dirs, Env: env, retainDirs: retainDirs, t: t} // Mock installation directory exe, svcExe, execExe := executablePaths(t) @@ -241,7 +241,7 @@ func new(t *testing.T, retainDirs, updatePath bool, extraEnv ...string) *Session t.Setenv(constants.HomeEnvVarName, dirs.HomeDir) err = fileutils.Touch(filepath.Join(dirs.Base, installation.InstallDirMarker)) - require.NoError(session.T, err) + require.NoError(session.t, err) return session } @@ -251,7 +251,7 @@ func NewNoPathUpdate(t *testing.T, retainDirs bool, extraEnv ...string) *Session } func (s *Session) SetT(t *testing.T) { - s.T = t + s.t = t } func (s *Session) ClearCache() error { @@ -291,7 +291,7 @@ func (s *Session) SpawnCmdWithOpts(exe string, optSetters ...SpawnOptSetter) *Sp spawnOpts.TermtestOpts = append(spawnOpts.TermtestOpts, termtest.OptErrorHandler(func(tt *termtest.TermTest, err error) error { - s.T.Fatal(s.DebugMessage(errs.JoinMessage(err))) + s.t.Fatal(s.DebugMessage(errs.JoinMessage(err))) return err }), termtest.OptDefaultTimeout(defaultTimeout), @@ -359,7 +359,7 @@ func (s *Session) SpawnCmdWithOpts(exe string, optSetters ...SpawnOptSetter) *Sp } tt, err := termtest.New(cmd, spawnOpts.TermtestOpts...) - require.NoError(s.T, err) + require.NoError(s.t, err) spawn := &SpawnedCmd{tt, spawnOpts} @@ -377,15 +377,15 @@ func (s *Session) SpawnCmdWithOpts(exe string, optSetters ...SpawnOptSetter) *Sp // PrepareActiveStateYAML creates an activestate.yaml in the session's work directory from the // given YAML contents. func (s *Session) PrepareActiveStateYAML(contents string) { - require.NoError(s.T, fileutils.WriteFile(filepath.Join(s.Dirs.Work, constants.ConfigFileName), []byte(contents))) + require.NoError(s.t, fileutils.WriteFile(filepath.Join(s.Dirs.Work, constants.ConfigFileName), []byte(contents))) } func (s *Session) PrepareCommitIdFile(commitID string) { // Replace the contents of this function with the line below in DX-2307. - //require.NoError(s.T, fileutils.WriteFile(filepath.Join(s.Dirs.Work, constants.ProjectConfigDirName, constants.CommitIdFileName), []byte(commitID))) + //require.NoError(s.t, fileutils.WriteFile(filepath.Join(s.Dirs.Work, constants.ProjectConfigDirName, constants.CommitIdFileName), []byte(commitID))) pjfile, err := projectfile.Parse(filepath.Join(s.Dirs.Work, constants.ConfigFileName)) - require.NoError(s.T, err) - require.NoError(s.T, pjfile.LegacySetCommit(commitID)) + require.NoError(s.t, err) + require.NoError(s.t, pjfile.LegacySetCommit(commitID)) } // PrepareProject creates a very simple activestate.yaml file for the given org/project and, if a @@ -404,12 +404,12 @@ func (s *Session) PrepareFile(path, contents string) { contents = strings.TrimSpace(contents) err := os.MkdirAll(filepath.Dir(path), 0770) - require.NoError(s.T, err, errMsg) + require.NoError(s.t, err, errMsg) bs := append([]byte(contents), '\n') err = ioutil.WriteFile(path, bs, 0660) - require.NoError(s.T, err, errMsg) + require.NoError(s.t, err, errMsg) } // LoginAsPersistentUser is a common test case after which an integration test user should be logged in to the platform @@ -431,9 +431,9 @@ func (s *Session) LogoutUser() { p.ExpectExitCode(0) } -func (s *Session) CreateNewUser() (string, string, string) { +func (s *Session) CreateNewUser() (string, string) { uid, err := uuid.NewRandom() - require.NoError(s.T, err) + require.NoError(s.t, err) username := fmt.Sprintf("user-%s", uid.String()[0:8]) password := uid.String()[8:] @@ -457,7 +457,7 @@ func (s *Session) CreateNewUser() (string, string, string) { } serviceURL.Host = strings.Replace(serviceURL.Host, string(api.ServiceMono)+api.TestingPlatform, host, 1) _, err = mono.Init(serviceURL, nil).Users.AddUser(params) - require.NoError(s.T, err, "Error creating new user") + require.NoError(s.t, err, "Error creating new user") p := s.Spawn(tagsuite.Auth, "--username", username, "--password", password) p.Expect("logged in") @@ -465,7 +465,7 @@ func (s *Session) CreateNewUser() (string, string, string) { s.users = append(s.users, username) - return username, password, email + return username, password } // NotifyProjectCreated indicates that the given project was created on the Platform and needs to @@ -493,7 +493,7 @@ func observeSendFn(s *Session) func(string, int, error) { return } - s.T.Fatalf("Could not send data to terminal\nerror: %v", err) + s.t.Fatalf("Could not send data to terminal\nerror: %v", err) } } @@ -542,7 +542,7 @@ No logs "Z": sectionEnd, }, nil) if err != nil { - s.T.Fatalf("Parsing template failed: %s", errs.JoinMessage(err)) + s.t.Fatalf("Parsing template failed: %s", errs.JoinMessage(err)) } return v @@ -557,7 +557,7 @@ func (s *Session) Close() error { } cfg, err := config.NewCustom(s.Dirs.Config, singlethread.New(), true) - require.NoError(s.T, err, "Could not read e2e session configuration: %s", errs.JoinMessage(err)) + require.NoError(s.t, err, "Could not read e2e session configuration: %s", errs.JoinMessage(err)) if !s.retainDirs { defer s.Dirs.Close() @@ -566,7 +566,7 @@ func (s *Session) Close() error { s.spawned = []*SpawnedCmd{} if os.Getenv("PLATFORM_API_TOKEN") == "" { - s.T.Log("PLATFORM_API_TOKEN env var not set, not running suite tear down") + s.t.Log("PLATFORM_API_TOKEN env var not set, not running suite tear down") return nil } @@ -596,7 +596,7 @@ func (s *Session) Close() error { if runtime.GOOS == "linux" { projects, err := getProjects(org, auth) if err != nil { - s.T.Errorf("Could not fetch projects: %v", errs.JoinMessage(err)) + s.t.Errorf("Could not fetch projects: %v", errs.JoinMessage(err)) } for _, proj := range projects { if strfmt.IsUUID(proj.Name) { @@ -609,14 +609,14 @@ func (s *Session) Close() error { for _, proj := range s.createdProjects { err := model.DeleteProject(proj.Owner, proj.Project, auth) if err != nil { - s.T.Errorf("Could not delete project %s: %v", proj.Project, errs.JoinMessage(err)) + s.t.Errorf("Could not delete project %s: %v", proj.Project, errs.JoinMessage(err)) } } for _, user := range s.users { - err := cleanUser(s.T, user, auth) + err := cleanUser(s.t, user, auth) if err != nil { - s.T.Errorf("Could not delete user %s: %v", user, errs.JoinMessage(err)) + s.t.Errorf("Could not delete user %s: %v", user, errs.JoinMessage(err)) } } @@ -627,14 +627,14 @@ func (s *Session) Close() error { if runtime.GOOS != "windows" { installPath, err := installation.InstallPathForBranch("release") if err != nil { - s.T.Errorf("Could not get install path: %v", errs.JoinMessage(err)) + s.t.Errorf("Could not get install path: %v", errs.JoinMessage(err)) } binDir := filepath.Join(installPath, "bin") ss := bash.SubShell{} err = ss.WriteUserEnv(cfg, map[string]string{"PATH": binDir}, sscommon.InstallID, false) if err != nil { - s.T.Errorf("Could not clean user env: %v", errs.JoinMessage(err)) + s.t.Errorf("Could not clean user env: %v", errs.JoinMessage(err)) } } @@ -758,7 +758,7 @@ var errorOrPanicRegex = regexp.MustCompile(`(?:\[ERR:|Panic:)`) func (s *Session) detectLogErrors() { for _, path := range s.LogFiles() { if contents := string(fileutils.ReadFileUnsafe(path)); errorOrPanicRegex.MatchString(contents) { - s.T.Errorf("Found error and/or panic in log file %s\nIf this was expected, call session.IgnoreLogErrors() to avoid this check\nLog contents:\n%s", path, contents) + s.t.Errorf("Found error and/or panic in log file %s\nIf this was expected, call session.IgnoreLogErrors() to avoid this check\nLog contents:\n%s", path, contents) } } } @@ -769,7 +769,7 @@ func (s *Session) SetupRCFile() { } cfg, err := config.New() - require.NoError(s.T, err) + require.NoError(s.t, err) s.SetupRCFileCustom(subshell.New(cfg)) } @@ -780,14 +780,14 @@ func (s *Session) SetupRCFileCustom(subshell subshell.SubShell) { } rcFile, err := subshell.RcFile() - require.NoError(s.T, err) + require.NoError(s.t, err) if fileutils.TargetExists(filepath.Join(s.Dirs.HomeDir, filepath.Base(rcFile))) { err = fileutils.CopyFile(rcFile, filepath.Join(s.Dirs.HomeDir, filepath.Base(rcFile))) } else { err = fileutils.Touch(rcFile) } - require.NoError(s.T, err) + require.NoError(s.t, err) } func RunningOnCI() bool { diff --git a/internal/testhelpers/tagsuite/tagsuite.go b/internal/testhelpers/tagsuite/tagsuite.go index 6172c35d39..2fb0fe4783 100644 --- a/internal/testhelpers/tagsuite/tagsuite.go +++ b/internal/testhelpers/tagsuite/tagsuite.go @@ -54,7 +54,6 @@ const ( Progress = "progress" Projects = "projects" Projectfile = "projectfile" - Publish = "publish" Pull = "pull" Push = "push" Python = "python" diff --git a/pkg/platform/api/buildplanner/request/buildexpression.go b/pkg/platform/api/buildplanner/request/buildexpression.go index ddcae9e2d8..2f420449d5 100644 --- a/pkg/platform/api/buildplanner/request/buildexpression.go +++ b/pkg/platform/api/buildplanner/request/buildexpression.go @@ -31,6 +31,6 @@ query ($commitID: ID!) { ` } -func (b *buildScriptByCommitID) Vars() (map[string]interface{}, error) { - return b.vars, nil +func (b *buildScriptByCommitID) Vars() map[string]interface{} { + return b.vars } diff --git a/pkg/platform/api/buildplanner/request/commit.go b/pkg/platform/api/buildplanner/request/commit.go index e5d022a110..2bb0fbc9d3 100644 --- a/pkg/platform/api/buildplanner/request/commit.go +++ b/pkg/platform/api/buildplanner/request/commit.go @@ -180,6 +180,6 @@ query ($commitID: ID!) { ` } -func (b *buildPlanByCommitID) Vars() (map[string]interface{}, error) { - return b.vars, nil +func (b *buildPlanByCommitID) Vars() map[string]interface{} { + return b.vars } diff --git a/pkg/platform/api/buildplanner/request/createproject.go b/pkg/platform/api/buildplanner/request/createproject.go index 221f9f86ff..81551b7d8b 100644 --- a/pkg/platform/api/buildplanner/request/createproject.go +++ b/pkg/platform/api/buildplanner/request/createproject.go @@ -52,6 +52,6 @@ mutation ($organization: String!, $project: String!, $private: Boolean!, $expr: }` } -func (c *createProject) Vars() (map[string]interface{}, error) { - return c.vars, nil +func (c *createProject) Vars() map[string]interface{} { + return c.vars } diff --git a/pkg/platform/api/buildplanner/request/mergecommit.go b/pkg/platform/api/buildplanner/request/mergecommit.go index 413432744e..d4ce1ace25 100644 --- a/pkg/platform/api/buildplanner/request/mergecommit.go +++ b/pkg/platform/api/buildplanner/request/mergecommit.go @@ -71,6 +71,6 @@ mutation ($organization: String!, $project: String!, $targetRef: String!, $other ` } -func (b *mergeCommit) Vars() (map[string]interface{}, error) { - return b.vars, nil +func (b *mergeCommit) Vars() map[string]interface{} { + return b.vars } diff --git a/pkg/platform/api/buildplanner/request/project.go b/pkg/platform/api/buildplanner/request/project.go index 0948a7fa64..b330d28d34 100644 --- a/pkg/platform/api/buildplanner/request/project.go +++ b/pkg/platform/api/buildplanner/request/project.go @@ -195,6 +195,6 @@ query ($commitID: String!, $organization: String!, $project: String!) { ` } -func (b *buildPlanByProject) Vars() (map[string]interface{}, error) { - return b.vars, nil +func (b *buildPlanByProject) Vars() map[string]interface{} { + return b.vars } diff --git a/pkg/platform/api/buildplanner/request/revertcommit.go b/pkg/platform/api/buildplanner/request/revertcommit.go index 9cbe101ecc..70c0829f7a 100644 --- a/pkg/platform/api/buildplanner/request/revertcommit.go +++ b/pkg/platform/api/buildplanner/request/revertcommit.go @@ -74,6 +74,6 @@ mutation ($organization: String!, $project: String!, $commitId: String!, $target }` } -func (r *revertCommit) Vars() (map[string]interface{}, error) { - return r.vars, nil +func (r *revertCommit) Vars() map[string]interface{} { + return r.vars } diff --git a/pkg/platform/api/buildplanner/request/stagecommit.go b/pkg/platform/api/buildplanner/request/stagecommit.go index 5af02cdd24..75363eda17 100644 --- a/pkg/platform/api/buildplanner/request/stagecommit.go +++ b/pkg/platform/api/buildplanner/request/stagecommit.go @@ -65,6 +65,6 @@ mutation ($organization: String!, $project: String!, $parentCommit: ID, $descrip ` } -func (b *buildPlanByStageCommit) Vars() (map[string]interface{}, error) { - return b.vars, nil +func (b *buildPlanByStageCommit) Vars() map[string]interface{} { + return b.vars } diff --git a/pkg/platform/api/graphql/model/model.go b/pkg/platform/api/graphql/model/model.go index fae5823f19..2d2dd52fc5 100644 --- a/pkg/platform/api/graphql/model/model.go +++ b/pkg/platform/api/graphql/model/model.go @@ -9,11 +9,6 @@ const ( DateFormat = "2006-01-02" ) -type ErrorResponse struct { - Error string `json:"error,omitempty"` - Message string `json:"message,omitempty"` -} - type Time struct { time.Time } diff --git a/pkg/platform/api/graphql/model/publish.go b/pkg/platform/api/graphql/model/publish.go deleted file mode 100644 index 9599ba2455..0000000000 --- a/pkg/platform/api/graphql/model/publish.go +++ /dev/null @@ -1,10 +0,0 @@ -package model - -type PublishResult struct { - Publish struct { - ErrorResponse - IngredientID string `json:"ingredientID"` - IngredientVersionID string `json:"ingredientVersionID"` - Revision int `json:"revision"` - } `json:"publish"` -} diff --git a/pkg/platform/api/graphql/request/organization.go b/pkg/platform/api/graphql/request/organization.go index 5a2c05109c..64a6c1842a 100644 --- a/pkg/platform/api/graphql/request/organization.go +++ b/pkg/platform/api/graphql/request/organization.go @@ -1,12 +1,10 @@ package request -import ( - "github.com/go-openapi/strfmt" -) +import "github.com/go-openapi/strfmt" // OrganizationsByIDs returns the query for retrieving orgs by ids func OrganizationsByIDs(orgIDs []strfmt.UUID) *organizationByIDs { - return &organizationByIDs{vars: map[string]interface{}{ + return &organizationByIDs{map[string]interface{}{ "organization_ids": orgIDs, }} } @@ -26,13 +24,13 @@ func (p *organizationByIDs) Query() string { ` } -func (p *organizationByIDs) Vars() (map[string]interface{}, error) { - return p.vars, nil +func (p *organizationByIDs) Vars() map[string]interface{} { + return p.vars } // OrganizationsByName returns the query for retrieving org by name func OrganizationsByName(name string) *organizationByName { - return &organizationByName{vars: map[string]interface{}{ + return &organizationByName{map[string]interface{}{ "name": name, }} } @@ -51,6 +49,6 @@ func (p *organizationByName) Query() string { }` } -func (p *organizationByName) Vars() (map[string]interface{}, error) { - return p.vars, nil +func (p *organizationByName) Vars() map[string]interface{} { + return p.vars } diff --git a/pkg/platform/api/graphql/request/project.go b/pkg/platform/api/graphql/request/project.go index c065dcc033..6d39b72353 100644 --- a/pkg/platform/api/graphql/request/project.go +++ b/pkg/platform/api/graphql/request/project.go @@ -1,7 +1,7 @@ package request func ProjectByOrgAndName(org string, project string) *projectByOrgAndName { - return &projectByOrgAndName{vars: map[string]interface{}{ + return &projectByOrgAndName{map[string]interface{}{ "org": org, "name": project, }} @@ -45,6 +45,6 @@ func (p *projectByOrgAndName) Query() string { ` } -func (p *projectByOrgAndName) Vars() (map[string]interface{}, error) { - return p.vars, nil +func (p *projectByOrgAndName) Vars() map[string]interface{} { + return p.vars } diff --git a/pkg/platform/api/graphql/request/publish.go b/pkg/platform/api/graphql/request/publish.go deleted file mode 100644 index ce88286f51..0000000000 --- a/pkg/platform/api/graphql/request/publish.go +++ /dev/null @@ -1,203 +0,0 @@ -package request - -import ( - "bytes" - "encoding/json" - "errors" - "os" - - "github.com/ActiveState/cli/internal/errs" - "github.com/ActiveState/cli/internal/fileutils" - "github.com/ActiveState/cli/internal/gqlclient" - "github.com/ActiveState/cli/internal/locale" - "gopkg.in/yaml.v3" -) - -func Publish(vars PublishVariables, filepath string) (*PublishInput, error) { - var f *os.File - if filepath != "" { - var err error - f, err = os.Open(filepath) - if err != nil { - if errors.Is(err, os.ErrNotExist) { - return nil, locale.WrapInputError(err, "err_upload_file_not_found", "Could not find file at {{.V0}}", filepath) - } - return nil, errs.Wrap(err, "Could not open file %s", filepath) - } - - checksum, err := fileutils.Sha256Hash(filepath) - if err != nil { - return nil, locale.WrapError(err, "err_upload_file_checksum", "Could not calculate checksum for file") - } - - vars.FileChecksum = checksum - } - - return &PublishInput{ - Variables: vars, - file: f, - }, nil -} - -// PublishVariables holds the input variables -// It is ultimately used as the input for the graphql query, but before that we may want to present the data to the user -// which is done with yaml. As such the yaml tags are used for representing data to the user, and the json is used for -// inputs to graphql. -type PublishVariables struct { - Name string `yaml:"name" json:"-"` // User representation only - Namespace string `yaml:"namespace" json:"-"` // User representation only - Version string `yaml:"version" json:"version"` - Description string `yaml:"description" json:"description"` - - // Optional - Authors []PublishVariableAuthor `yaml:"authors,omitempty" json:"authors,omitempty"` - Dependencies []PublishVariableDep `yaml:"dependencies,omitempty" json:"dependencies,omitempty"` - - // GraphQL input only - Path string `yaml:"-" json:"path"` - File *string `yaml:"-" json:"file"` // Intentionally a pointer that never gets set as the server expects this to always be nil - FileChecksum string `yaml:"-" json:"file_checksum"` -} - -type PublishVariableAuthor struct { - Name string `yaml:"name,omitempty" json:"name,omitempty"` - Email string `yaml:"email,omitempty" json:"email,omitempty"` - Websites []string `yaml:"websites,omitempty" json:"websites,omitempty"` -} - -type PublishVariableDep struct { - Dependency - Conditions []Dependency `yaml:"conditions,omitempty" json:"conditions,omitempty"` -} - -type Dependency struct { - Name string `yaml:"name" json:"name"` - Namespace string `yaml:"namespace" json:"namespace"` - VersionRequirements string `yaml:"versionRequirements,omitempty" json:"versionRequirements,omitempty"` -} - -// ExampleAuthorVariables is used for presenting sample data to the user, it's not used for graphql input -type ExampleAuthorVariables struct { - Authors []PublishVariableAuthor `yaml:"authors,omitempty"` -} - -// ExampleDepVariables is used for presenting sample data to the user, it's not used for graphql input -type ExampleDepVariables struct { - Dependencies []PublishVariableDep `yaml:"dependencies,omitempty"` -} - -func (p PublishVariables) MarshalYaml(includeExample bool) ([]byte, error) { - v, err := yaml.Marshal(p) - if err != nil { - return nil, errs.Wrap(err, "Could not marshal publish request") - } - - if includeExample { - if len(p.Authors) == 0 { - exampleAuthorYaml, err := yaml.Marshal(exampleAuthor) - if err != nil { - return nil, errs.Wrap(err, "Could not marshal example author") - } - exampleAuthorYaml = append([]byte("# "), bytes.ReplaceAll(exampleAuthorYaml, []byte("\n"), []byte("\n# "))...) - exampleAuthorYaml = append([]byte("\n## Optional -- Example Author:\n"), exampleAuthorYaml...) - v = append(v, exampleAuthorYaml...) - } - - if len(p.Dependencies) == 0 { - exampleDepYaml, err := yaml.Marshal(exampleDep) - if err != nil { - return nil, errs.Wrap(err, "Could not marshal example deps") - } - exampleDepYaml = append([]byte("# "), bytes.ReplaceAll(exampleDepYaml, []byte("\n"), []byte("\n# "))...) - exampleDepYaml = append([]byte("\n## Optional -- Example Dependencies:\n"), exampleDepYaml...) - v = append(v, exampleDepYaml...) - } - } - - return v, nil -} - -func (p *PublishVariables) UnmarshalYaml(b []byte) error { - return yaml.Unmarshal(b, p) -} - -var exampleAuthor = ExampleAuthorVariables{[]PublishVariableAuthor{{ - Name: "John Doe", - Email: "johndoe@domain.tld", - Websites: []string{"https://example.com"}, -}}} - -var exampleDep = ExampleDepVariables{[]PublishVariableDep{{ - Dependency{ - Name: "example-linux-specific-ingredient", - Namespace: "shared", - VersionRequirements: ">= 1.0.0", - }, - []Dependency{ - { - Name: "linux", - Namespace: "kernel", - VersionRequirements: ">= 0", - }, - }, -}}} - -type PublishInput struct { - file *os.File - Variables PublishVariables -} - -func (p *PublishInput) Close() error { - return p.file.Close() -} - -func (p *PublishInput) Files() []gqlclient.File { - if p.file == nil { - return []gqlclient.File{} - } - return []gqlclient.File{ - { - Field: "variables.input.file", // this needs to map to the graphql input, eg. variables.input.file - Name: p.Variables.Name, - R: p.file, - }, - } -} - -func (p *PublishInput) Query() string { - return ` - mutation ($input: PublishInput!) { - publish(input: $input) { - ... on CreatedIngredientVersionRevision { - ingredientID - ingredientVersionID - revision - } - ... on Error{ - __typename - error: message - } - } - } -` -} - -func (p *PublishInput) Vars() (map[string]interface{}, error) { - // Path is only used when sending data to graphql, so rather than updating it multiple times as source vars - // are changed we just set it here once prior to its use. - p.Variables.Path = p.Variables.Namespace + "/" + p.Variables.Name - - // Convert our json data to a map - vars, err := json.Marshal(p.Variables) - if err != nil { - return nil, errs.Wrap(err, "Could not marshal publish input vars") - } - varMap := make(map[string]interface{}) - if err := json.Unmarshal(vars, &varMap); err != nil { - return nil, errs.Wrap(err, "Could not unmarshal publish input vars") - } - - return map[string]interface{}{ - "input": varMap, - }, nil -} diff --git a/pkg/platform/api/graphql/request/vcs.go b/pkg/platform/api/graphql/request/vcs.go index 70dec20ce0..f6f662a2a7 100644 --- a/pkg/platform/api/graphql/request/vcs.go +++ b/pkg/platform/api/graphql/request/vcs.go @@ -5,7 +5,7 @@ import ( ) func CheckpointByCommit(commitID strfmt.UUID) *checkpointByCommit { - return &checkpointByCommit{vars: map[string]interface{}{ + return &checkpointByCommit{map[string]interface{}{ "commit_id": commitID, }} } @@ -30,6 +30,6 @@ func (p *checkpointByCommit) Query() string { ` } -func (p *checkpointByCommit) Vars() (map[string]interface{}, error) { - return p.vars, nil +func (p *checkpointByCommit) Vars() map[string]interface{} { + return p.vars } diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_author_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_author_parameters.go index 453f5d1256..fe61bcfa49 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_author_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_author_parameters.go @@ -54,10 +54,12 @@ func NewAddAuthorParamsWithHTTPClient(client *http.Client) *AddAuthorParams { } } -/* AddAuthorParams contains all the parameters to send to the API endpoint - for the add author operation. +/* +AddAuthorParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add author operation. + + Typically these are written to a http.Request. */ type AddAuthorParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_author_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_author_responses.go index 9ed9cfcd6f..c66d078193 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_author_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_author_responses.go @@ -52,7 +52,8 @@ func NewAddAuthorCreated() *AddAuthorCreated { return &AddAuthorCreated{} } -/* AddAuthorCreated describes a response with status code 201, with default header values. +/* +AddAuthorCreated describes a response with status code 201, with default header values. The added author */ @@ -84,7 +85,8 @@ func NewAddAuthorBadRequest() *AddAuthorBadRequest { return &AddAuthorBadRequest{} } -/* AddAuthorBadRequest describes a response with status code 400, with default header values. +/* +AddAuthorBadRequest describes a response with status code 400, with default header values. If the author is invalid */ @@ -118,7 +120,8 @@ func NewAddAuthorDefault(code int) *AddAuthorDefault { } } -/* AddAuthorDefault describes a response with status code -1, with default header values. +/* +AddAuthorDefault describes a response with status code -1, with default header values. If there is an error processing the author */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_flag_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_flag_parameters.go index 0cf7dc6804..0f41bbb8f9 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_flag_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_flag_parameters.go @@ -54,10 +54,12 @@ func NewAddBuildFlagParamsWithHTTPClient(client *http.Client) *AddBuildFlagParam } } -/* AddBuildFlagParams contains all the parameters to send to the API endpoint - for the add build flag operation. +/* +AddBuildFlagParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add build flag operation. + + Typically these are written to a http.Request. */ type AddBuildFlagParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_flag_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_flag_responses.go index 198b5b2381..cd438fc91e 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_flag_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_flag_responses.go @@ -52,7 +52,8 @@ func NewAddBuildFlagCreated() *AddBuildFlagCreated { return &AddBuildFlagCreated{} } -/* AddBuildFlagCreated describes a response with status code 201, with default header values. +/* +AddBuildFlagCreated describes a response with status code 201, with default header values. The added build flag */ @@ -84,7 +85,8 @@ func NewAddBuildFlagBadRequest() *AddBuildFlagBadRequest { return &AddBuildFlagBadRequest{} } -/* AddBuildFlagBadRequest describes a response with status code 400, with default header values. +/* +AddBuildFlagBadRequest describes a response with status code 400, with default header values. If the build flag is invalid */ @@ -118,7 +120,8 @@ func NewAddBuildFlagDefault(code int) *AddBuildFlagDefault { } } -/* AddBuildFlagDefault describes a response with status code -1, with default header values. +/* +AddBuildFlagDefault describes a response with status code -1, with default header values. If there is an error processing the build flag */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_flag_revision_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_flag_revision_parameters.go index 50643b1bdf..a2fd58e5b1 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_flag_revision_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_flag_revision_parameters.go @@ -54,10 +54,12 @@ func NewAddBuildFlagRevisionParamsWithHTTPClient(client *http.Client) *AddBuildF } } -/* AddBuildFlagRevisionParams contains all the parameters to send to the API endpoint - for the add build flag revision operation. +/* +AddBuildFlagRevisionParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add build flag revision operation. + + Typically these are written to a http.Request. */ type AddBuildFlagRevisionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_flag_revision_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_flag_revision_responses.go index 04a3dc3927..ce2b8d03ef 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_flag_revision_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_flag_revision_responses.go @@ -52,7 +52,8 @@ func NewAddBuildFlagRevisionOK() *AddBuildFlagRevisionOK { return &AddBuildFlagRevisionOK{} } -/* AddBuildFlagRevisionOK describes a response with status code 200, with default header values. +/* +AddBuildFlagRevisionOK describes a response with status code 200, with default header values. The updated state of the build flag */ @@ -84,7 +85,8 @@ func NewAddBuildFlagRevisionBadRequest() *AddBuildFlagRevisionBadRequest { return &AddBuildFlagRevisionBadRequest{} } -/* AddBuildFlagRevisionBadRequest describes a response with status code 400, with default header values. +/* +AddBuildFlagRevisionBadRequest describes a response with status code 400, with default header values. If the build flag revision is invalid */ @@ -118,7 +120,8 @@ func NewAddBuildFlagRevisionDefault(code int) *AddBuildFlagRevisionDefault { } } -/* AddBuildFlagRevisionDefault describes a response with status code -1, with default header values. +/* +AddBuildFlagRevisionDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_script_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_script_parameters.go index 3dd78aa8f1..0e8fdce3f5 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_script_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_script_parameters.go @@ -54,10 +54,12 @@ func NewAddBuildScriptParamsWithHTTPClient(client *http.Client) *AddBuildScriptP } } -/* AddBuildScriptParams contains all the parameters to send to the API endpoint - for the add build script operation. +/* +AddBuildScriptParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add build script operation. + + Typically these are written to a http.Request. */ type AddBuildScriptParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_script_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_script_responses.go index 54123fe3cd..04fb7cf2d2 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_script_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_build_script_responses.go @@ -52,7 +52,8 @@ func NewAddBuildScriptCreated() *AddBuildScriptCreated { return &AddBuildScriptCreated{} } -/* AddBuildScriptCreated describes a response with status code 201, with default header values. +/* +AddBuildScriptCreated describes a response with status code 201, with default header values. The added build script */ @@ -84,7 +85,8 @@ func NewAddBuildScriptBadRequest() *AddBuildScriptBadRequest { return &AddBuildScriptBadRequest{} } -/* AddBuildScriptBadRequest describes a response with status code 400, with default header values. +/* +AddBuildScriptBadRequest describes a response with status code 400, with default header values. If the build script is invalid */ @@ -118,7 +120,8 @@ func NewAddBuildScriptDefault(code int) *AddBuildScriptDefault { } } -/* AddBuildScriptDefault describes a response with status code -1, with default header values. +/* +AddBuildScriptDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_cpu_extension_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_cpu_extension_parameters.go index 436cef65af..818d638ccb 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_cpu_extension_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_cpu_extension_parameters.go @@ -54,10 +54,12 @@ func NewAddCPUArchitectureCPUExtensionParamsWithHTTPClient(client *http.Client) } } -/* AddCPUArchitectureCPUExtensionParams contains all the parameters to send to the API endpoint - for the add Cpu architecture Cpu extension operation. +/* +AddCPUArchitectureCPUExtensionParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add Cpu architecture Cpu extension operation. + + Typically these are written to a http.Request. */ type AddCPUArchitectureCPUExtensionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_cpu_extension_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_cpu_extension_responses.go index 0ad15abd63..d9a5956715 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_cpu_extension_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_cpu_extension_responses.go @@ -52,7 +52,8 @@ func NewAddCPUArchitectureCPUExtensionOK() *AddCPUArchitectureCPUExtensionOK { return &AddCPUArchitectureCPUExtensionOK{} } -/* AddCPUArchitectureCPUExtensionOK describes a response with status code 200, with default header values. +/* +AddCPUArchitectureCPUExtensionOK describes a response with status code 200, with default header values. The CPU extension added to the kernel */ @@ -84,7 +85,8 @@ func NewAddCPUArchitectureCPUExtensionBadRequest() *AddCPUArchitectureCPUExtensi return &AddCPUArchitectureCPUExtensionBadRequest{} } -/* AddCPUArchitectureCPUExtensionBadRequest describes a response with status code 400, with default header values. +/* +AddCPUArchitectureCPUExtensionBadRequest describes a response with status code 400, with default header values. If the CPU extension ID doesn't exist */ @@ -118,7 +120,8 @@ func NewAddCPUArchitectureCPUExtensionDefault(code int) *AddCPUArchitectureCPUEx } } -/* AddCPUArchitectureCPUExtensionDefault describes a response with status code -1, with default header values. +/* +AddCPUArchitectureCPUExtensionDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_parameters.go index 5dbb3e41f6..953e96377e 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_parameters.go @@ -54,10 +54,12 @@ func NewAddCPUArchitectureParamsWithHTTPClient(client *http.Client) *AddCPUArchi } } -/* AddCPUArchitectureParams contains all the parameters to send to the API endpoint - for the add Cpu architecture operation. +/* +AddCPUArchitectureParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add Cpu architecture operation. + + Typically these are written to a http.Request. */ type AddCPUArchitectureParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_responses.go index 48ad79c95b..da18c6af77 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_responses.go @@ -52,7 +52,8 @@ func NewAddCPUArchitectureCreated() *AddCPUArchitectureCreated { return &AddCPUArchitectureCreated{} } -/* AddCPUArchitectureCreated describes a response with status code 201, with default header values. +/* +AddCPUArchitectureCreated describes a response with status code 201, with default header values. The added CPU architecture */ @@ -84,7 +85,8 @@ func NewAddCPUArchitectureBadRequest() *AddCPUArchitectureBadRequest { return &AddCPUArchitectureBadRequest{} } -/* AddCPUArchitectureBadRequest describes a response with status code 400, with default header values. +/* +AddCPUArchitectureBadRequest describes a response with status code 400, with default header values. If the CPU architecture is invalid */ @@ -118,7 +120,8 @@ func NewAddCPUArchitectureDefault(code int) *AddCPUArchitectureDefault { } } -/* AddCPUArchitectureDefault describes a response with status code -1, with default header values. +/* +AddCPUArchitectureDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_revision_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_revision_parameters.go index 4c4487a744..3ad660d063 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_revision_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_revision_parameters.go @@ -54,10 +54,12 @@ func NewAddCPUArchitectureRevisionParamsWithHTTPClient(client *http.Client) *Add } } -/* AddCPUArchitectureRevisionParams contains all the parameters to send to the API endpoint - for the add Cpu architecture revision operation. +/* +AddCPUArchitectureRevisionParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add Cpu architecture revision operation. + + Typically these are written to a http.Request. */ type AddCPUArchitectureRevisionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_revision_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_revision_responses.go index 70dfc0d16a..53b88dbddb 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_revision_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_architecture_revision_responses.go @@ -52,7 +52,8 @@ func NewAddCPUArchitectureRevisionOK() *AddCPUArchitectureRevisionOK { return &AddCPUArchitectureRevisionOK{} } -/* AddCPUArchitectureRevisionOK describes a response with status code 200, with default header values. +/* +AddCPUArchitectureRevisionOK describes a response with status code 200, with default header values. The updated state of the CPU architecture */ @@ -84,7 +85,8 @@ func NewAddCPUArchitectureRevisionBadRequest() *AddCPUArchitectureRevisionBadReq return &AddCPUArchitectureRevisionBadRequest{} } -/* AddCPUArchitectureRevisionBadRequest describes a response with status code 400, with default header values. +/* +AddCPUArchitectureRevisionBadRequest describes a response with status code 400, with default header values. If the CPU architecture revision is invalid */ @@ -118,7 +120,8 @@ func NewAddCPUArchitectureRevisionDefault(code int) *AddCPUArchitectureRevisionD } } -/* AddCPUArchitectureRevisionDefault describes a response with status code -1, with default header values. +/* +AddCPUArchitectureRevisionDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_extension_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_extension_parameters.go index 7be194b0dc..1ea1d93e7a 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_extension_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_extension_parameters.go @@ -54,10 +54,12 @@ func NewAddCPUExtensionParamsWithHTTPClient(client *http.Client) *AddCPUExtensio } } -/* AddCPUExtensionParams contains all the parameters to send to the API endpoint - for the add Cpu extension operation. +/* +AddCPUExtensionParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add Cpu extension operation. + + Typically these are written to a http.Request. */ type AddCPUExtensionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_extension_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_extension_responses.go index e61b17009b..c2ee74a792 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_extension_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_extension_responses.go @@ -52,7 +52,8 @@ func NewAddCPUExtensionCreated() *AddCPUExtensionCreated { return &AddCPUExtensionCreated{} } -/* AddCPUExtensionCreated describes a response with status code 201, with default header values. +/* +AddCPUExtensionCreated describes a response with status code 201, with default header values. The added CPU extension */ @@ -84,7 +85,8 @@ func NewAddCPUExtensionBadRequest() *AddCPUExtensionBadRequest { return &AddCPUExtensionBadRequest{} } -/* AddCPUExtensionBadRequest describes a response with status code 400, with default header values. +/* +AddCPUExtensionBadRequest describes a response with status code 400, with default header values. If the CPU extension is invalid */ @@ -118,7 +120,8 @@ func NewAddCPUExtensionDefault(code int) *AddCPUExtensionDefault { } } -/* AddCPUExtensionDefault describes a response with status code -1, with default header values. +/* +AddCPUExtensionDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_extension_revision_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_extension_revision_parameters.go index 80e9d3a7ee..c70bc3a0b1 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_extension_revision_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_extension_revision_parameters.go @@ -54,10 +54,12 @@ func NewAddCPUExtensionRevisionParamsWithHTTPClient(client *http.Client) *AddCPU } } -/* AddCPUExtensionRevisionParams contains all the parameters to send to the API endpoint - for the add Cpu extension revision operation. +/* +AddCPUExtensionRevisionParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add Cpu extension revision operation. + + Typically these are written to a http.Request. */ type AddCPUExtensionRevisionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_extension_revision_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_extension_revision_responses.go index 4ce642997a..38b1e0387d 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_extension_revision_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_cpu_extension_revision_responses.go @@ -52,7 +52,8 @@ func NewAddCPUExtensionRevisionOK() *AddCPUExtensionRevisionOK { return &AddCPUExtensionRevisionOK{} } -/* AddCPUExtensionRevisionOK describes a response with status code 200, with default header values. +/* +AddCPUExtensionRevisionOK describes a response with status code 200, with default header values. The updated state of the CPU extension */ @@ -84,7 +85,8 @@ func NewAddCPUExtensionRevisionBadRequest() *AddCPUExtensionRevisionBadRequest { return &AddCPUExtensionRevisionBadRequest{} } -/* AddCPUExtensionRevisionBadRequest describes a response with status code 400, with default header values. +/* +AddCPUExtensionRevisionBadRequest describes a response with status code 400, with default header values. If the CPU extension revision is invalid */ @@ -118,7 +120,8 @@ func NewAddCPUExtensionRevisionDefault(code int) *AddCPUExtensionRevisionDefault } } -/* AddCPUExtensionRevisionDefault describes a response with status code -1, with default header values. +/* +AddCPUExtensionRevisionDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_g_p_u_architecture_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_g_p_u_architecture_parameters.go index 7534c9554e..558f68e44e 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_g_p_u_architecture_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_g_p_u_architecture_parameters.go @@ -54,10 +54,12 @@ func NewAddGPUArchitectureParamsWithHTTPClient(client *http.Client) *AddGPUArchi } } -/* AddGPUArchitectureParams contains all the parameters to send to the API endpoint - for the add g p u architecture operation. +/* +AddGPUArchitectureParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add g p u architecture operation. + + Typically these are written to a http.Request. */ type AddGPUArchitectureParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_g_p_u_architecture_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_g_p_u_architecture_responses.go index e41908a28a..de648b0e51 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_g_p_u_architecture_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_g_p_u_architecture_responses.go @@ -52,7 +52,8 @@ func NewAddGPUArchitectureCreated() *AddGPUArchitectureCreated { return &AddGPUArchitectureCreated{} } -/* AddGPUArchitectureCreated describes a response with status code 201, with default header values. +/* +AddGPUArchitectureCreated describes a response with status code 201, with default header values. The added GPU architecture */ @@ -84,7 +85,8 @@ func NewAddGPUArchitectureBadRequest() *AddGPUArchitectureBadRequest { return &AddGPUArchitectureBadRequest{} } -/* AddGPUArchitectureBadRequest describes a response with status code 400, with default header values. +/* +AddGPUArchitectureBadRequest describes a response with status code 400, with default header values. If the GPU architecture is invalid */ @@ -118,7 +120,8 @@ func NewAddGPUArchitectureDefault(code int) *AddGPUArchitectureDefault { } } -/* AddGPUArchitectureDefault describes a response with status code -1, with default header values. +/* +AddGPUArchitectureDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_g_p_u_architecture_revision_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_g_p_u_architecture_revision_parameters.go index 273c872a9e..bff986276f 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_g_p_u_architecture_revision_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_g_p_u_architecture_revision_parameters.go @@ -54,10 +54,12 @@ func NewAddGPUArchitectureRevisionParamsWithHTTPClient(client *http.Client) *Add } } -/* AddGPUArchitectureRevisionParams contains all the parameters to send to the API endpoint - for the add g p u architecture revision operation. +/* +AddGPUArchitectureRevisionParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add g p u architecture revision operation. + + Typically these are written to a http.Request. */ type AddGPUArchitectureRevisionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_g_p_u_architecture_revision_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_g_p_u_architecture_revision_responses.go index dfd70f3c22..683521dc93 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_g_p_u_architecture_revision_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_g_p_u_architecture_revision_responses.go @@ -52,7 +52,8 @@ func NewAddGPUArchitectureRevisionOK() *AddGPUArchitectureRevisionOK { return &AddGPUArchitectureRevisionOK{} } -/* AddGPUArchitectureRevisionOK describes a response with status code 200, with default header values. +/* +AddGPUArchitectureRevisionOK describes a response with status code 200, with default header values. The updated state of the GPU architecture */ @@ -84,7 +85,8 @@ func NewAddGPUArchitectureRevisionBadRequest() *AddGPUArchitectureRevisionBadReq return &AddGPUArchitectureRevisionBadRequest{} } -/* AddGPUArchitectureRevisionBadRequest describes a response with status code 400, with default header values. +/* +AddGPUArchitectureRevisionBadRequest describes a response with status code 400, with default header values. If the GPU architecture revision is invalid */ @@ -118,7 +120,8 @@ func NewAddGPUArchitectureRevisionDefault(code int) *AddGPUArchitectureRevisionD } } -/* AddGPUArchitectureRevisionDefault describes a response with status code -1, with default header values. +/* +AddGPUArchitectureRevisionDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_image_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_image_parameters.go index 4010d94d2d..06a0bde7dd 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_image_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_image_parameters.go @@ -54,10 +54,12 @@ func NewAddImageParamsWithHTTPClient(client *http.Client) *AddImageParams { } } -/* AddImageParams contains all the parameters to send to the API endpoint - for the add image operation. +/* +AddImageParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add image operation. + + Typically these are written to a http.Request. */ type AddImageParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_image_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_image_responses.go index bafdcf526e..c4a6908cdc 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_image_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_image_responses.go @@ -52,7 +52,8 @@ func NewAddImageCreated() *AddImageCreated { return &AddImageCreated{} } -/* AddImageCreated describes a response with status code 201, with default header values. +/* +AddImageCreated describes a response with status code 201, with default header values. The added image */ @@ -84,7 +85,8 @@ func NewAddImageBadRequest() *AddImageBadRequest { return &AddImageBadRequest{} } -/* AddImageBadRequest describes a response with status code 400, with default header values. +/* +AddImageBadRequest describes a response with status code 400, with default header values. If the image is invalid */ @@ -118,7 +120,8 @@ func NewAddImageDefault(code int) *AddImageDefault { } } -/* AddImageDefault describes a response with status code -1, with default header values. +/* +AddImageDefault describes a response with status code -1, with default header values. If there is an error processing the image */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_image_revision_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_image_revision_parameters.go index 7fb2419d48..9ff2a28e23 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_image_revision_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_image_revision_parameters.go @@ -54,10 +54,12 @@ func NewAddImageRevisionParamsWithHTTPClient(client *http.Client) *AddImageRevis } } -/* AddImageRevisionParams contains all the parameters to send to the API endpoint - for the add image revision operation. +/* +AddImageRevisionParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add image revision operation. + + Typically these are written to a http.Request. */ type AddImageRevisionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_image_revision_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_image_revision_responses.go index 70c8040a94..5dd479b893 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_image_revision_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_image_revision_responses.go @@ -52,7 +52,8 @@ func NewAddImageRevisionOK() *AddImageRevisionOK { return &AddImageRevisionOK{} } -/* AddImageRevisionOK describes a response with status code 200, with default header values. +/* +AddImageRevisionOK describes a response with status code 200, with default header values. The updated state of the image */ @@ -84,7 +85,8 @@ func NewAddImageRevisionBadRequest() *AddImageRevisionBadRequest { return &AddImageRevisionBadRequest{} } -/* AddImageRevisionBadRequest describes a response with status code 400, with default header values. +/* +AddImageRevisionBadRequest describes a response with status code 400, with default header values. If the image revision is invalid */ @@ -118,7 +120,8 @@ func NewAddImageRevisionDefault(code int) *AddImageRevisionDefault { } } -/* AddImageRevisionDefault describes a response with status code -1, with default header values. +/* +AddImageRevisionDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_and_versions_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_and_versions_parameters.go index a0fc0dba59..c45ca503ac 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_and_versions_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_and_versions_parameters.go @@ -55,10 +55,12 @@ func NewAddIngredientAndVersionsParamsWithHTTPClient(client *http.Client) *AddIn } } -/* AddIngredientAndVersionsParams contains all the parameters to send to the API endpoint - for the add ingredient and versions operation. +/* +AddIngredientAndVersionsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add ingredient and versions operation. + + Typically these are written to a http.Request. */ type AddIngredientAndVersionsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_and_versions_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_and_versions_responses.go index 61960850b4..b0f3ddd22d 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_and_versions_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_and_versions_responses.go @@ -52,7 +52,8 @@ func NewAddIngredientAndVersionsCreated() *AddIngredientAndVersionsCreated { return &AddIngredientAndVersionsCreated{} } -/* AddIngredientAndVersionsCreated describes a response with status code 201, with default header values. +/* +AddIngredientAndVersionsCreated describes a response with status code 201, with default header values. The added ingredient versions. If any versions already existed, they will be returned as well. */ @@ -84,7 +85,8 @@ func NewAddIngredientAndVersionsBadRequest() *AddIngredientAndVersionsBadRequest return &AddIngredientAndVersionsBadRequest{} } -/* AddIngredientAndVersionsBadRequest describes a response with status code 400, with default header values. +/* +AddIngredientAndVersionsBadRequest describes a response with status code 400, with default header values. If the ingredient/version data is invalid */ @@ -118,7 +120,8 @@ func NewAddIngredientAndVersionsDefault(code int) *AddIngredientAndVersionsDefau } } -/* AddIngredientAndVersionsDefault describes a response with status code -1, with default header values. +/* +AddIngredientAndVersionsDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_option_set_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_option_set_parameters.go index 0ff6aac2e2..c5302e14a0 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_option_set_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_option_set_parameters.go @@ -54,10 +54,12 @@ func NewAddIngredientOptionSetParamsWithHTTPClient(client *http.Client) *AddIngr } } -/* AddIngredientOptionSetParams contains all the parameters to send to the API endpoint - for the add ingredient option set operation. +/* +AddIngredientOptionSetParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add ingredient option set operation. + + Typically these are written to a http.Request. */ type AddIngredientOptionSetParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_option_set_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_option_set_responses.go index 6d0c4782ae..d1c98a749c 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_option_set_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_option_set_responses.go @@ -52,7 +52,8 @@ func NewAddIngredientOptionSetCreated() *AddIngredientOptionSetCreated { return &AddIngredientOptionSetCreated{} } -/* AddIngredientOptionSetCreated describes a response with status code 201, with default header values. +/* +AddIngredientOptionSetCreated describes a response with status code 201, with default header values. The added ingredient option set */ @@ -84,7 +85,8 @@ func NewAddIngredientOptionSetBadRequest() *AddIngredientOptionSetBadRequest { return &AddIngredientOptionSetBadRequest{} } -/* AddIngredientOptionSetBadRequest describes a response with status code 400, with default header values. +/* +AddIngredientOptionSetBadRequest describes a response with status code 400, with default header values. If the ingredient option set is invalid */ @@ -118,7 +120,8 @@ func NewAddIngredientOptionSetDefault(code int) *AddIngredientOptionSetDefault { } } -/* AddIngredientOptionSetDefault describes a response with status code -1, with default header values. +/* +AddIngredientOptionSetDefault describes a response with status code -1, with default header values. If there is an error processing the ingredient option set */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_option_set_revision_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_option_set_revision_parameters.go index e6e873a481..8b96060100 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_option_set_revision_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_option_set_revision_parameters.go @@ -54,10 +54,12 @@ func NewAddIngredientOptionSetRevisionParamsWithHTTPClient(client *http.Client) } } -/* AddIngredientOptionSetRevisionParams contains all the parameters to send to the API endpoint - for the add ingredient option set revision operation. +/* +AddIngredientOptionSetRevisionParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add ingredient option set revision operation. + + Typically these are written to a http.Request. */ type AddIngredientOptionSetRevisionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_option_set_revision_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_option_set_revision_responses.go index fa39e94934..d4751cdc84 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_option_set_revision_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_option_set_revision_responses.go @@ -52,7 +52,8 @@ func NewAddIngredientOptionSetRevisionOK() *AddIngredientOptionSetRevisionOK { return &AddIngredientOptionSetRevisionOK{} } -/* AddIngredientOptionSetRevisionOK describes a response with status code 200, with default header values. +/* +AddIngredientOptionSetRevisionOK describes a response with status code 200, with default header values. The updated state of the ingredient option set */ @@ -84,7 +85,8 @@ func NewAddIngredientOptionSetRevisionBadRequest() *AddIngredientOptionSetRevisi return &AddIngredientOptionSetRevisionBadRequest{} } -/* AddIngredientOptionSetRevisionBadRequest describes a response with status code 400, with default header values. +/* +AddIngredientOptionSetRevisionBadRequest describes a response with status code 400, with default header values. If the ingredient option set revision is invalid */ @@ -118,7 +120,8 @@ func NewAddIngredientOptionSetRevisionDefault(code int) *AddIngredientOptionSetR } } -/* AddIngredientOptionSetRevisionDefault describes a response with status code -1, with default header values. +/* +AddIngredientOptionSetRevisionDefault describes a response with status code -1, with default header values. If there is an error processing the ingredient option set revision */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_parameters.go index d80c195374..13b600bfc0 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_parameters.go @@ -54,10 +54,12 @@ func NewAddIngredientParamsWithHTTPClient(client *http.Client) *AddIngredientPar } } -/* AddIngredientParams contains all the parameters to send to the API endpoint - for the add ingredient operation. +/* +AddIngredientParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add ingredient operation. + + Typically these are written to a http.Request. */ type AddIngredientParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_responses.go index eca11a58e2..0931855b72 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_responses.go @@ -52,7 +52,8 @@ func NewAddIngredientCreated() *AddIngredientCreated { return &AddIngredientCreated{} } -/* AddIngredientCreated describes a response with status code 201, with default header values. +/* +AddIngredientCreated describes a response with status code 201, with default header values. The added ingredient */ @@ -84,7 +85,8 @@ func NewAddIngredientBadRequest() *AddIngredientBadRequest { return &AddIngredientBadRequest{} } -/* AddIngredientBadRequest describes a response with status code 400, with default header values. +/* +AddIngredientBadRequest describes a response with status code 400, with default header values. If the ingredient is invalid */ @@ -118,7 +120,8 @@ func NewAddIngredientDefault(code int) *AddIngredientDefault { } } -/* AddIngredientDefault describes a response with status code -1, with default header values. +/* +AddIngredientDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_author_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_author_parameters.go index 24f140eba0..a182155a47 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_author_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_author_parameters.go @@ -54,10 +54,12 @@ func NewAddIngredientVersionAuthorParamsWithHTTPClient(client *http.Client) *Add } } -/* AddIngredientVersionAuthorParams contains all the parameters to send to the API endpoint - for the add ingredient version author operation. +/* +AddIngredientVersionAuthorParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add ingredient version author operation. + + Typically these are written to a http.Request. */ type AddIngredientVersionAuthorParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_author_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_author_responses.go index 63f0d4d982..88b5b29d8d 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_author_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_author_responses.go @@ -52,7 +52,8 @@ func NewAddIngredientVersionAuthorOK() *AddIngredientVersionAuthorOK { return &AddIngredientVersionAuthorOK{} } -/* AddIngredientVersionAuthorOK describes a response with status code 200, with default header values. +/* +AddIngredientVersionAuthorOK describes a response with status code 200, with default header values. The author added to the ingredient version */ @@ -84,7 +85,8 @@ func NewAddIngredientVersionAuthorBadRequest() *AddIngredientVersionAuthorBadReq return &AddIngredientVersionAuthorBadRequest{} } -/* AddIngredientVersionAuthorBadRequest describes a response with status code 400, with default header values. +/* +AddIngredientVersionAuthorBadRequest describes a response with status code 400, with default header values. If the author ID doesn't exist */ @@ -118,7 +120,8 @@ func NewAddIngredientVersionAuthorDefault(code int) *AddIngredientVersionAuthorD } } -/* AddIngredientVersionAuthorDefault describes a response with status code -1, with default header values. +/* +AddIngredientVersionAuthorDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_parameters.go index 81496adda1..c2f36ce8fb 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_parameters.go @@ -55,10 +55,12 @@ func NewAddIngredientVersionParamsWithHTTPClient(client *http.Client) *AddIngred } } -/* AddIngredientVersionParams contains all the parameters to send to the API endpoint - for the add ingredient version operation. +/* +AddIngredientVersionParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add ingredient version operation. + + Typically these are written to a http.Request. */ type AddIngredientVersionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_responses.go index 0104b233aa..9160326124 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_responses.go @@ -52,7 +52,8 @@ func NewAddIngredientVersionCreated() *AddIngredientVersionCreated { return &AddIngredientVersionCreated{} } -/* AddIngredientVersionCreated describes a response with status code 201, with default header values. +/* +AddIngredientVersionCreated describes a response with status code 201, with default header values. The added ingredient version */ @@ -84,7 +85,8 @@ func NewAddIngredientVersionBadRequest() *AddIngredientVersionBadRequest { return &AddIngredientVersionBadRequest{} } -/* AddIngredientVersionBadRequest describes a response with status code 400, with default header values. +/* +AddIngredientVersionBadRequest describes a response with status code 400, with default header values. If the ingredient version is invalid */ @@ -118,7 +120,8 @@ func NewAddIngredientVersionDefault(code int) *AddIngredientVersionDefault { } } -/* AddIngredientVersionDefault describes a response with status code -1, with default header values. +/* +AddIngredientVersionDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_revision_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_revision_parameters.go index 6ddcd6f0a0..3e81d691c4 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_revision_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_revision_parameters.go @@ -55,10 +55,12 @@ func NewAddIngredientVersionRevisionParamsWithHTTPClient(client *http.Client) *A } } -/* AddIngredientVersionRevisionParams contains all the parameters to send to the API endpoint - for the add ingredient version revision operation. +/* +AddIngredientVersionRevisionParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add ingredient version revision operation. + + Typically these are written to a http.Request. */ type AddIngredientVersionRevisionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_revision_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_revision_responses.go index a6492bb5ab..1f45df8453 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_revision_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_ingredient_version_revision_responses.go @@ -52,7 +52,8 @@ func NewAddIngredientVersionRevisionOK() *AddIngredientVersionRevisionOK { return &AddIngredientVersionRevisionOK{} } -/* AddIngredientVersionRevisionOK describes a response with status code 200, with default header values. +/* +AddIngredientVersionRevisionOK describes a response with status code 200, with default header values. The updated state of the ingredient version */ @@ -84,7 +85,8 @@ func NewAddIngredientVersionRevisionBadRequest() *AddIngredientVersionRevisionBa return &AddIngredientVersionRevisionBadRequest{} } -/* AddIngredientVersionRevisionBadRequest describes a response with status code 400, with default header values. +/* +AddIngredientVersionRevisionBadRequest describes a response with status code 400, with default header values. If the ingredient version revision is invalid */ @@ -118,7 +120,8 @@ func NewAddIngredientVersionRevisionDefault(code int) *AddIngredientVersionRevis } } -/* AddIngredientVersionRevisionDefault describes a response with status code -1, with default header values. +/* +AddIngredientVersionRevisionDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_cpu_architecture_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_cpu_architecture_parameters.go index e5be02cc99..ff7349d297 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_cpu_architecture_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_cpu_architecture_parameters.go @@ -54,10 +54,12 @@ func NewAddKernelCPUArchitectureParamsWithHTTPClient(client *http.Client) *AddKe } } -/* AddKernelCPUArchitectureParams contains all the parameters to send to the API endpoint - for the add kernel Cpu architecture operation. +/* +AddKernelCPUArchitectureParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add kernel Cpu architecture operation. + + Typically these are written to a http.Request. */ type AddKernelCPUArchitectureParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_cpu_architecture_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_cpu_architecture_responses.go index 667e979366..947c7f0c6e 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_cpu_architecture_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_cpu_architecture_responses.go @@ -52,7 +52,8 @@ func NewAddKernelCPUArchitectureOK() *AddKernelCPUArchitectureOK { return &AddKernelCPUArchitectureOK{} } -/* AddKernelCPUArchitectureOK describes a response with status code 200, with default header values. +/* +AddKernelCPUArchitectureOK describes a response with status code 200, with default header values. The CPU architecture added to the kernel */ @@ -84,7 +85,8 @@ func NewAddKernelCPUArchitectureBadRequest() *AddKernelCPUArchitectureBadRequest return &AddKernelCPUArchitectureBadRequest{} } -/* AddKernelCPUArchitectureBadRequest describes a response with status code 400, with default header values. +/* +AddKernelCPUArchitectureBadRequest describes a response with status code 400, with default header values. If the CPU architecture ID doesn't exist */ @@ -118,7 +120,8 @@ func NewAddKernelCPUArchitectureDefault(code int) *AddKernelCPUArchitectureDefau } } -/* AddKernelCPUArchitectureDefault describes a response with status code -1, with default header values. +/* +AddKernelCPUArchitectureDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_g_p_u_architecture_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_g_p_u_architecture_parameters.go index 891cd8bcae..b32149d28f 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_g_p_u_architecture_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_g_p_u_architecture_parameters.go @@ -54,10 +54,12 @@ func NewAddKernelGPUArchitectureParamsWithHTTPClient(client *http.Client) *AddKe } } -/* AddKernelGPUArchitectureParams contains all the parameters to send to the API endpoint - for the add kernel g p u architecture operation. +/* +AddKernelGPUArchitectureParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add kernel g p u architecture operation. + + Typically these are written to a http.Request. */ type AddKernelGPUArchitectureParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_g_p_u_architecture_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_g_p_u_architecture_responses.go index 35fb7bae6c..ac4a75a2e4 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_g_p_u_architecture_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_g_p_u_architecture_responses.go @@ -52,7 +52,8 @@ func NewAddKernelGPUArchitectureOK() *AddKernelGPUArchitectureOK { return &AddKernelGPUArchitectureOK{} } -/* AddKernelGPUArchitectureOK describes a response with status code 200, with default header values. +/* +AddKernelGPUArchitectureOK describes a response with status code 200, with default header values. The GPU architecture added to the kernel */ @@ -84,7 +85,8 @@ func NewAddKernelGPUArchitectureBadRequest() *AddKernelGPUArchitectureBadRequest return &AddKernelGPUArchitectureBadRequest{} } -/* AddKernelGPUArchitectureBadRequest describes a response with status code 400, with default header values. +/* +AddKernelGPUArchitectureBadRequest describes a response with status code 400, with default header values. If the GPU architecture ID doesn't exist */ @@ -118,7 +120,8 @@ func NewAddKernelGPUArchitectureDefault(code int) *AddKernelGPUArchitectureDefau } } -/* AddKernelGPUArchitectureDefault describes a response with status code -1, with default header values. +/* +AddKernelGPUArchitectureDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_parameters.go index b5300911f1..1a48dcbbd0 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_parameters.go @@ -54,10 +54,12 @@ func NewAddKernelParamsWithHTTPClient(client *http.Client) *AddKernelParams { } } -/* AddKernelParams contains all the parameters to send to the API endpoint - for the add kernel operation. +/* +AddKernelParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add kernel operation. + + Typically these are written to a http.Request. */ type AddKernelParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_responses.go index be25f54399..5982d9f58b 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_responses.go @@ -52,7 +52,8 @@ func NewAddKernelCreated() *AddKernelCreated { return &AddKernelCreated{} } -/* AddKernelCreated describes a response with status code 201, with default header values. +/* +AddKernelCreated describes a response with status code 201, with default header values. The added kernel */ @@ -84,7 +85,8 @@ func NewAddKernelBadRequest() *AddKernelBadRequest { return &AddKernelBadRequest{} } -/* AddKernelBadRequest describes a response with status code 400, with default header values. +/* +AddKernelBadRequest describes a response with status code 400, with default header values. If the kernel is invalid */ @@ -118,7 +120,8 @@ func NewAddKernelDefault(code int) *AddKernelDefault { } } -/* AddKernelDefault describes a response with status code -1, with default header values. +/* +AddKernelDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_version_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_version_parameters.go index 5b24ca11dd..17abca614a 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_version_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_version_parameters.go @@ -54,10 +54,12 @@ func NewAddKernelVersionParamsWithHTTPClient(client *http.Client) *AddKernelVers } } -/* AddKernelVersionParams contains all the parameters to send to the API endpoint - for the add kernel version operation. +/* +AddKernelVersionParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add kernel version operation. + + Typically these are written to a http.Request. */ type AddKernelVersionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_version_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_version_responses.go index 1ede173df6..42a69ad538 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_version_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_version_responses.go @@ -52,7 +52,8 @@ func NewAddKernelVersionCreated() *AddKernelVersionCreated { return &AddKernelVersionCreated{} } -/* AddKernelVersionCreated describes a response with status code 201, with default header values. +/* +AddKernelVersionCreated describes a response with status code 201, with default header values. The added kernel version */ @@ -84,7 +85,8 @@ func NewAddKernelVersionBadRequest() *AddKernelVersionBadRequest { return &AddKernelVersionBadRequest{} } -/* AddKernelVersionBadRequest describes a response with status code 400, with default header values. +/* +AddKernelVersionBadRequest describes a response with status code 400, with default header values. If the kernel version is invalid */ @@ -118,7 +120,8 @@ func NewAddKernelVersionDefault(code int) *AddKernelVersionDefault { } } -/* AddKernelVersionDefault describes a response with status code -1, with default header values. +/* +AddKernelVersionDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_version_revision_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_version_revision_parameters.go index 14c15cdead..6dd47c31ab 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_version_revision_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_version_revision_parameters.go @@ -54,10 +54,12 @@ func NewAddKernelVersionRevisionParamsWithHTTPClient(client *http.Client) *AddKe } } -/* AddKernelVersionRevisionParams contains all the parameters to send to the API endpoint - for the add kernel version revision operation. +/* +AddKernelVersionRevisionParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add kernel version revision operation. + + Typically these are written to a http.Request. */ type AddKernelVersionRevisionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_version_revision_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_version_revision_responses.go index a342dc3568..5519d27a02 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_version_revision_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_kernel_version_revision_responses.go @@ -52,7 +52,8 @@ func NewAddKernelVersionRevisionOK() *AddKernelVersionRevisionOK { return &AddKernelVersionRevisionOK{} } -/* AddKernelVersionRevisionOK describes a response with status code 200, with default header values. +/* +AddKernelVersionRevisionOK describes a response with status code 200, with default header values. The updated state of the kernel version */ @@ -84,7 +85,8 @@ func NewAddKernelVersionRevisionBadRequest() *AddKernelVersionRevisionBadRequest return &AddKernelVersionRevisionBadRequest{} } -/* AddKernelVersionRevisionBadRequest describes a response with status code 400, with default header values. +/* +AddKernelVersionRevisionBadRequest describes a response with status code 400, with default header values. If the kernel version revision is invalid */ @@ -118,7 +120,8 @@ func NewAddKernelVersionRevisionDefault(code int) *AddKernelVersionRevisionDefau } } -/* AddKernelVersionRevisionDefault describes a response with status code -1, with default header values. +/* +AddKernelVersionRevisionDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_parameters.go index f4b9a8d029..97b57838e0 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_parameters.go @@ -54,10 +54,12 @@ func NewAddLibcParamsWithHTTPClient(client *http.Client) *AddLibcParams { } } -/* AddLibcParams contains all the parameters to send to the API endpoint - for the add libc operation. +/* +AddLibcParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add libc operation. + + Typically these are written to a http.Request. */ type AddLibcParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_responses.go index f84f7d9866..d2152ef467 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_responses.go @@ -52,7 +52,8 @@ func NewAddLibcCreated() *AddLibcCreated { return &AddLibcCreated{} } -/* AddLibcCreated describes a response with status code 201, with default header values. +/* +AddLibcCreated describes a response with status code 201, with default header values. The added libc */ @@ -84,7 +85,8 @@ func NewAddLibcBadRequest() *AddLibcBadRequest { return &AddLibcBadRequest{} } -/* AddLibcBadRequest describes a response with status code 400, with default header values. +/* +AddLibcBadRequest describes a response with status code 400, with default header values. If the libc is invalid */ @@ -118,7 +120,8 @@ func NewAddLibcDefault(code int) *AddLibcDefault { } } -/* AddLibcDefault describes a response with status code -1, with default header values. +/* +AddLibcDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_version_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_version_parameters.go index ab7110bdc1..24880c949f 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_version_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_version_parameters.go @@ -54,10 +54,12 @@ func NewAddLibcVersionParamsWithHTTPClient(client *http.Client) *AddLibcVersionP } } -/* AddLibcVersionParams contains all the parameters to send to the API endpoint - for the add libc version operation. +/* +AddLibcVersionParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add libc version operation. + + Typically these are written to a http.Request. */ type AddLibcVersionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_version_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_version_responses.go index 5fa04f7e8c..1ae14a4d1c 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_version_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_version_responses.go @@ -52,7 +52,8 @@ func NewAddLibcVersionCreated() *AddLibcVersionCreated { return &AddLibcVersionCreated{} } -/* AddLibcVersionCreated describes a response with status code 201, with default header values. +/* +AddLibcVersionCreated describes a response with status code 201, with default header values. The added libc version */ @@ -84,7 +85,8 @@ func NewAddLibcVersionBadRequest() *AddLibcVersionBadRequest { return &AddLibcVersionBadRequest{} } -/* AddLibcVersionBadRequest describes a response with status code 400, with default header values. +/* +AddLibcVersionBadRequest describes a response with status code 400, with default header values. If the libc version is invalid */ @@ -118,7 +120,8 @@ func NewAddLibcVersionDefault(code int) *AddLibcVersionDefault { } } -/* AddLibcVersionDefault describes a response with status code -1, with default header values. +/* +AddLibcVersionDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_version_revision_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_version_revision_parameters.go index 6a4acd761b..5dd360e854 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_version_revision_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_version_revision_parameters.go @@ -54,10 +54,12 @@ func NewAddLibcVersionRevisionParamsWithHTTPClient(client *http.Client) *AddLibc } } -/* AddLibcVersionRevisionParams contains all the parameters to send to the API endpoint - for the add libc version revision operation. +/* +AddLibcVersionRevisionParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add libc version revision operation. + + Typically these are written to a http.Request. */ type AddLibcVersionRevisionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_version_revision_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_version_revision_responses.go index fa7d481b9f..bc94e120c4 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_version_revision_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_libc_version_revision_responses.go @@ -52,7 +52,8 @@ func NewAddLibcVersionRevisionOK() *AddLibcVersionRevisionOK { return &AddLibcVersionRevisionOK{} } -/* AddLibcVersionRevisionOK describes a response with status code 200, with default header values. +/* +AddLibcVersionRevisionOK describes a response with status code 200, with default header values. The updated state of the libc version */ @@ -84,7 +85,8 @@ func NewAddLibcVersionRevisionBadRequest() *AddLibcVersionRevisionBadRequest { return &AddLibcVersionRevisionBadRequest{} } -/* AddLibcVersionRevisionBadRequest describes a response with status code 400, with default header values. +/* +AddLibcVersionRevisionBadRequest describes a response with status code 400, with default header values. If the libc version revision is invalid */ @@ -118,7 +120,8 @@ func NewAddLibcVersionRevisionDefault(code int) *AddLibcVersionRevisionDefault { } } -/* AddLibcVersionRevisionDefault describes a response with status code -1, with default header values. +/* +AddLibcVersionRevisionDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_namespace_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_namespace_parameters.go index 44505dc02d..5bb7ad305d 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_namespace_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_namespace_parameters.go @@ -54,10 +54,12 @@ func NewAddNamespaceParamsWithHTTPClient(client *http.Client) *AddNamespaceParam } } -/* AddNamespaceParams contains all the parameters to send to the API endpoint - for the add namespace operation. +/* +AddNamespaceParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add namespace operation. + + Typically these are written to a http.Request. */ type AddNamespaceParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_namespace_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_namespace_responses.go index 040972c5e8..d19f5851a7 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_namespace_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_namespace_responses.go @@ -52,7 +52,8 @@ func NewAddNamespaceCreated() *AddNamespaceCreated { return &AddNamespaceCreated{} } -/* AddNamespaceCreated describes a response with status code 201, with default header values. +/* +AddNamespaceCreated describes a response with status code 201, with default header values. Returns the created namespace */ @@ -84,7 +85,8 @@ func NewAddNamespaceBadRequest() *AddNamespaceBadRequest { return &AddNamespaceBadRequest{} } -/* AddNamespaceBadRequest describes a response with status code 400, with default header values. +/* +AddNamespaceBadRequest describes a response with status code 400, with default header values. If the namespace is invalid */ @@ -118,7 +120,8 @@ func NewAddNamespaceDefault(code int) *AddNamespaceDefault { } } -/* AddNamespaceDefault describes a response with status code -1, with default header values. +/* +AddNamespaceDefault describes a response with status code -1, with default header values. If there is an error processing the namespace */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_kernel_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_kernel_parameters.go index 12948a370a..399d5c2939 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_kernel_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_kernel_parameters.go @@ -54,10 +54,12 @@ func NewAddOperatingSystemKernelParamsWithHTTPClient(client *http.Client) *AddOp } } -/* AddOperatingSystemKernelParams contains all the parameters to send to the API endpoint - for the add operating system kernel operation. +/* +AddOperatingSystemKernelParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add operating system kernel operation. + + Typically these are written to a http.Request. */ type AddOperatingSystemKernelParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_kernel_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_kernel_responses.go index 5ce199e521..053f30cb7e 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_kernel_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_kernel_responses.go @@ -52,7 +52,8 @@ func NewAddOperatingSystemKernelOK() *AddOperatingSystemKernelOK { return &AddOperatingSystemKernelOK{} } -/* AddOperatingSystemKernelOK describes a response with status code 200, with default header values. +/* +AddOperatingSystemKernelOK describes a response with status code 200, with default header values. The kernel added to the operating system */ @@ -84,7 +85,8 @@ func NewAddOperatingSystemKernelBadRequest() *AddOperatingSystemKernelBadRequest return &AddOperatingSystemKernelBadRequest{} } -/* AddOperatingSystemKernelBadRequest describes a response with status code 400, with default header values. +/* +AddOperatingSystemKernelBadRequest describes a response with status code 400, with default header values. If the kernel ID doesn't exist */ @@ -118,7 +120,8 @@ func NewAddOperatingSystemKernelDefault(code int) *AddOperatingSystemKernelDefau } } -/* AddOperatingSystemKernelDefault describes a response with status code -1, with default header values. +/* +AddOperatingSystemKernelDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_libc_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_libc_parameters.go index e87cf901d4..867ad37b2d 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_libc_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_libc_parameters.go @@ -54,10 +54,12 @@ func NewAddOperatingSystemLibcParamsWithHTTPClient(client *http.Client) *AddOper } } -/* AddOperatingSystemLibcParams contains all the parameters to send to the API endpoint - for the add operating system libc operation. +/* +AddOperatingSystemLibcParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add operating system libc operation. + + Typically these are written to a http.Request. */ type AddOperatingSystemLibcParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_libc_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_libc_responses.go index 268aa011d9..0f0c398721 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_libc_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_libc_responses.go @@ -52,7 +52,8 @@ func NewAddOperatingSystemLibcOK() *AddOperatingSystemLibcOK { return &AddOperatingSystemLibcOK{} } -/* AddOperatingSystemLibcOK describes a response with status code 200, with default header values. +/* +AddOperatingSystemLibcOK describes a response with status code 200, with default header values. The libc added to the operating system */ @@ -84,7 +85,8 @@ func NewAddOperatingSystemLibcBadRequest() *AddOperatingSystemLibcBadRequest { return &AddOperatingSystemLibcBadRequest{} } -/* AddOperatingSystemLibcBadRequest describes a response with status code 400, with default header values. +/* +AddOperatingSystemLibcBadRequest describes a response with status code 400, with default header values. If the libc ID doesn't exist */ @@ -118,7 +120,8 @@ func NewAddOperatingSystemLibcDefault(code int) *AddOperatingSystemLibcDefault { } } -/* AddOperatingSystemLibcDefault describes a response with status code -1, with default header values. +/* +AddOperatingSystemLibcDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_parameters.go index 184f23afac..51185b498a 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_parameters.go @@ -54,10 +54,12 @@ func NewAddOperatingSystemParamsWithHTTPClient(client *http.Client) *AddOperatin } } -/* AddOperatingSystemParams contains all the parameters to send to the API endpoint - for the add operating system operation. +/* +AddOperatingSystemParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add operating system operation. + + Typically these are written to a http.Request. */ type AddOperatingSystemParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_responses.go index 32a216596a..3695a64ec1 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_responses.go @@ -52,7 +52,8 @@ func NewAddOperatingSystemCreated() *AddOperatingSystemCreated { return &AddOperatingSystemCreated{} } -/* AddOperatingSystemCreated describes a response with status code 201, with default header values. +/* +AddOperatingSystemCreated describes a response with status code 201, with default header values. The added operating system */ @@ -84,7 +85,8 @@ func NewAddOperatingSystemBadRequest() *AddOperatingSystemBadRequest { return &AddOperatingSystemBadRequest{} } -/* AddOperatingSystemBadRequest describes a response with status code 400, with default header values. +/* +AddOperatingSystemBadRequest describes a response with status code 400, with default header values. If the operating system is invalid */ @@ -118,7 +120,8 @@ func NewAddOperatingSystemDefault(code int) *AddOperatingSystemDefault { } } -/* AddOperatingSystemDefault describes a response with status code -1, with default header values. +/* +AddOperatingSystemDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_version_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_version_parameters.go index 348d2a5239..9924f33fb5 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_version_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_version_parameters.go @@ -54,10 +54,12 @@ func NewAddOperatingSystemVersionParamsWithHTTPClient(client *http.Client) *AddO } } -/* AddOperatingSystemVersionParams contains all the parameters to send to the API endpoint - for the add operating system version operation. +/* +AddOperatingSystemVersionParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add operating system version operation. + + Typically these are written to a http.Request. */ type AddOperatingSystemVersionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_version_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_version_responses.go index 7e21d68834..029d39c88f 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_version_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_version_responses.go @@ -52,7 +52,8 @@ func NewAddOperatingSystemVersionCreated() *AddOperatingSystemVersionCreated { return &AddOperatingSystemVersionCreated{} } -/* AddOperatingSystemVersionCreated describes a response with status code 201, with default header values. +/* +AddOperatingSystemVersionCreated describes a response with status code 201, with default header values. The added operating system version */ @@ -84,7 +85,8 @@ func NewAddOperatingSystemVersionBadRequest() *AddOperatingSystemVersionBadReque return &AddOperatingSystemVersionBadRequest{} } -/* AddOperatingSystemVersionBadRequest describes a response with status code 400, with default header values. +/* +AddOperatingSystemVersionBadRequest describes a response with status code 400, with default header values. If the operating system version is invalid */ @@ -118,7 +120,8 @@ func NewAddOperatingSystemVersionDefault(code int) *AddOperatingSystemVersionDef } } -/* AddOperatingSystemVersionDefault describes a response with status code -1, with default header values. +/* +AddOperatingSystemVersionDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_version_revision_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_version_revision_parameters.go index a30c1ce127..2e8ddbbf9f 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_version_revision_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_version_revision_parameters.go @@ -54,10 +54,12 @@ func NewAddOperatingSystemVersionRevisionParamsWithHTTPClient(client *http.Clien } } -/* AddOperatingSystemVersionRevisionParams contains all the parameters to send to the API endpoint - for the add operating system version revision operation. +/* +AddOperatingSystemVersionRevisionParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add operating system version revision operation. + + Typically these are written to a http.Request. */ type AddOperatingSystemVersionRevisionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_version_revision_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_version_revision_responses.go index 9fcfbd7a42..326656d255 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_version_revision_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_operating_system_version_revision_responses.go @@ -52,7 +52,8 @@ func NewAddOperatingSystemVersionRevisionOK() *AddOperatingSystemVersionRevision return &AddOperatingSystemVersionRevisionOK{} } -/* AddOperatingSystemVersionRevisionOK describes a response with status code 200, with default header values. +/* +AddOperatingSystemVersionRevisionOK describes a response with status code 200, with default header values. The updated state of the operating system version */ @@ -84,7 +85,8 @@ func NewAddOperatingSystemVersionRevisionBadRequest() *AddOperatingSystemVersion return &AddOperatingSystemVersionRevisionBadRequest{} } -/* AddOperatingSystemVersionRevisionBadRequest describes a response with status code 400, with default header values. +/* +AddOperatingSystemVersionRevisionBadRequest describes a response with status code 400, with default header values. If the operating system version revision is invalid */ @@ -118,7 +120,8 @@ func NewAddOperatingSystemVersionRevisionDefault(code int) *AddOperatingSystemVe } } -/* AddOperatingSystemVersionRevisionDefault describes a response with status code -1, with default header values. +/* +AddOperatingSystemVersionRevisionDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_patch_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_patch_parameters.go index 99fddd73f0..5f55065243 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_patch_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_patch_parameters.go @@ -54,10 +54,12 @@ func NewAddPatchParamsWithHTTPClient(client *http.Client) *AddPatchParams { } } -/* AddPatchParams contains all the parameters to send to the API endpoint - for the add patch operation. +/* +AddPatchParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add patch operation. + + Typically these are written to a http.Request. */ type AddPatchParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_patch_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_patch_responses.go index 1c8b5b0b22..169a49d012 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_patch_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_patch_responses.go @@ -52,7 +52,8 @@ func NewAddPatchCreated() *AddPatchCreated { return &AddPatchCreated{} } -/* AddPatchCreated describes a response with status code 201, with default header values. +/* +AddPatchCreated describes a response with status code 201, with default header values. The added patch */ @@ -84,7 +85,8 @@ func NewAddPatchBadRequest() *AddPatchBadRequest { return &AddPatchBadRequest{} } -/* AddPatchBadRequest describes a response with status code 400, with default header values. +/* +AddPatchBadRequest describes a response with status code 400, with default header values. If the patch is invalid */ @@ -118,7 +120,8 @@ func NewAddPatchDefault(code int) *AddPatchDefault { } } -/* AddPatchDefault describes a response with status code -1, with default header values. +/* +AddPatchDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_platform_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_platform_parameters.go index 79088c21c5..d6c3ac4e5c 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_platform_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_platform_parameters.go @@ -54,10 +54,12 @@ func NewAddPlatformParamsWithHTTPClient(client *http.Client) *AddPlatformParams } } -/* AddPlatformParams contains all the parameters to send to the API endpoint - for the add platform operation. +/* +AddPlatformParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add platform operation. + + Typically these are written to a http.Request. */ type AddPlatformParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_platform_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_platform_responses.go index 696182703d..7d54b08bef 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/add_platform_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/add_platform_responses.go @@ -52,7 +52,8 @@ func NewAddPlatformCreated() *AddPlatformCreated { return &AddPlatformCreated{} } -/* AddPlatformCreated describes a response with status code 201, with default header values. +/* +AddPlatformCreated describes a response with status code 201, with default header values. The added platform */ @@ -84,7 +85,8 @@ func NewAddPlatformBadRequest() *AddPlatformBadRequest { return &AddPlatformBadRequest{} } -/* AddPlatformBadRequest describes a response with status code 400, with default header values. +/* +AddPlatformBadRequest describes a response with status code 400, with default header values. If the platform is invalid */ @@ -118,7 +120,8 @@ func NewAddPlatformDefault(code int) *AddPlatformDefault { } } -/* AddPlatformDefault describes a response with status code -1, with default header values. +/* +AddPlatformDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/delete_image_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/delete_image_parameters.go index 9af6433117..57c87608f9 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/delete_image_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/delete_image_parameters.go @@ -52,10 +52,12 @@ func NewDeleteImageParamsWithHTTPClient(client *http.Client) *DeleteImageParams } } -/* DeleteImageParams contains all the parameters to send to the API endpoint - for the delete image operation. +/* +DeleteImageParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the delete image operation. + + Typically these are written to a http.Request. */ type DeleteImageParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/delete_image_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/delete_image_responses.go index eb47dddbb6..7270e11dd8 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/delete_image_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/delete_image_responses.go @@ -46,7 +46,8 @@ func NewDeleteImageNoContent() *DeleteImageNoContent { return &DeleteImageNoContent{} } -/* DeleteImageNoContent describes a response with status code 204, with default header values. +/* +DeleteImageNoContent describes a response with status code 204, with default header values. The image has been deleted */ @@ -69,7 +70,8 @@ func NewDeleteImageDefault(code int) *DeleteImageDefault { } } -/* DeleteImageDefault describes a response with status code -1, with default header values. +/* +DeleteImageDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/delete_ingredient_version_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/delete_ingredient_version_parameters.go index 957ee5e09c..55e11d4557 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/delete_ingredient_version_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/delete_ingredient_version_parameters.go @@ -52,10 +52,12 @@ func NewDeleteIngredientVersionParamsWithHTTPClient(client *http.Client) *Delete } } -/* DeleteIngredientVersionParams contains all the parameters to send to the API endpoint - for the delete ingredient version operation. +/* +DeleteIngredientVersionParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the delete ingredient version operation. + + Typically these are written to a http.Request. */ type DeleteIngredientVersionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/delete_ingredient_version_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/delete_ingredient_version_responses.go index 63c4d041e7..ae801416b2 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/delete_ingredient_version_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/delete_ingredient_version_responses.go @@ -46,7 +46,8 @@ func NewDeleteIngredientVersionNoContent() *DeleteIngredientVersionNoContent { return &DeleteIngredientVersionNoContent{} } -/* DeleteIngredientVersionNoContent describes a response with status code 204, with default header values. +/* +DeleteIngredientVersionNoContent describes a response with status code 204, with default header values. The ingredient version has been deleted */ @@ -69,7 +70,8 @@ func NewDeleteIngredientVersionDefault(code int) *DeleteIngredientVersionDefault } } -/* DeleteIngredientVersionDefault describes a response with status code -1, with default header values. +/* +DeleteIngredientVersionDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_author_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_author_parameters.go index 0e1997b802..3354c3a560 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_author_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_author_parameters.go @@ -52,10 +52,12 @@ func NewGetAuthorParamsWithHTTPClient(client *http.Client) *GetAuthorParams { } } -/* GetAuthorParams contains all the parameters to send to the API endpoint - for the get author operation. +/* +GetAuthorParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get author operation. + + Typically these are written to a http.Request. */ type GetAuthorParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_author_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_author_responses.go index 447c9c48be..856b168701 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_author_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_author_responses.go @@ -46,7 +46,8 @@ func NewGetAuthorOK() *GetAuthorOK { return &GetAuthorOK{} } -/* GetAuthorOK describes a response with status code 200, with default header values. +/* +GetAuthorOK describes a response with status code 200, with default header values. Retrieve the author */ @@ -80,7 +81,8 @@ func NewGetAuthorDefault(code int) *GetAuthorDefault { } } -/* GetAuthorDefault describes a response with status code -1, with default header values. +/* +GetAuthorDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_authors_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_authors_parameters.go index 24de0d5603..f8371e09e9 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_authors_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_authors_parameters.go @@ -53,10 +53,12 @@ func NewGetAuthorsParamsWithHTTPClient(client *http.Client) *GetAuthorsParams { } } -/* GetAuthorsParams contains all the parameters to send to the API endpoint - for the get authors operation. +/* +GetAuthorsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get authors operation. + + Typically these are written to a http.Request. */ type GetAuthorsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_authors_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_authors_responses.go index 032f09a58d..047784af7f 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_authors_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_authors_responses.go @@ -46,7 +46,8 @@ func NewGetAuthorsOK() *GetAuthorsOK { return &GetAuthorsOK{} } -/* GetAuthorsOK describes a response with status code 200, with default header values. +/* +GetAuthorsOK describes a response with status code 200, with default header values. A paginated list of authors */ @@ -80,7 +81,8 @@ func NewGetAuthorsDefault(code int) *GetAuthorsDefault { } } -/* GetAuthorsDefault describes a response with status code -1, with default header values. +/* +GetAuthorsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_flag_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_flag_parameters.go index a7ab562bc5..652a394558 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_flag_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_flag_parameters.go @@ -53,10 +53,12 @@ func NewGetBuildFlagParamsWithHTTPClient(client *http.Client) *GetBuildFlagParam } } -/* GetBuildFlagParams contains all the parameters to send to the API endpoint - for the get build flag operation. +/* +GetBuildFlagParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get build flag operation. + + Typically these are written to a http.Request. */ type GetBuildFlagParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_flag_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_flag_responses.go index cf49188a66..d53830d22d 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_flag_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_flag_responses.go @@ -46,7 +46,8 @@ func NewGetBuildFlagOK() *GetBuildFlagOK { return &GetBuildFlagOK{} } -/* GetBuildFlagOK describes a response with status code 200, with default header values. +/* +GetBuildFlagOK describes a response with status code 200, with default header values. Retrieve the build flag */ @@ -80,7 +81,8 @@ func NewGetBuildFlagDefault(code int) *GetBuildFlagDefault { } } -/* GetBuildFlagDefault describes a response with status code -1, with default header values. +/* +GetBuildFlagDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_flags_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_flags_parameters.go index b75e4a6d92..49debe6f45 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_flags_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_flags_parameters.go @@ -53,10 +53,12 @@ func NewGetBuildFlagsParamsWithHTTPClient(client *http.Client) *GetBuildFlagsPar } } -/* GetBuildFlagsParams contains all the parameters to send to the API endpoint - for the get build flags operation. +/* +GetBuildFlagsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get build flags operation. + + Typically these are written to a http.Request. */ type GetBuildFlagsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_flags_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_flags_responses.go index f126d5ea59..653c12c414 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_flags_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_flags_responses.go @@ -46,7 +46,8 @@ func NewGetBuildFlagsOK() *GetBuildFlagsOK { return &GetBuildFlagsOK{} } -/* GetBuildFlagsOK describes a response with status code 200, with default header values. +/* +GetBuildFlagsOK describes a response with status code 200, with default header values. A paginated list of build flags */ @@ -80,7 +81,8 @@ func NewGetBuildFlagsDefault(code int) *GetBuildFlagsDefault { } } -/* GetBuildFlagsDefault describes a response with status code -1, with default header values. +/* +GetBuildFlagsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_script_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_script_parameters.go index f82debb7b0..e31fd40a3e 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_script_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_script_parameters.go @@ -52,10 +52,12 @@ func NewGetBuildScriptParamsWithHTTPClient(client *http.Client) *GetBuildScriptP } } -/* GetBuildScriptParams contains all the parameters to send to the API endpoint - for the get build script operation. +/* +GetBuildScriptParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get build script operation. + + Typically these are written to a http.Request. */ type GetBuildScriptParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_script_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_script_responses.go index 37991bce65..9388e4d48b 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_script_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_script_responses.go @@ -46,7 +46,8 @@ func NewGetBuildScriptOK() *GetBuildScriptOK { return &GetBuildScriptOK{} } -/* GetBuildScriptOK describes a response with status code 200, with default header values. +/* +GetBuildScriptOK describes a response with status code 200, with default header values. The retrieved build script */ @@ -80,7 +81,8 @@ func NewGetBuildScriptDefault(code int) *GetBuildScriptDefault { } } -/* GetBuildScriptDefault describes a response with status code -1, with default header values. +/* +GetBuildScriptDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_scripts_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_scripts_parameters.go index d6fefedb41..487cb932b9 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_scripts_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_scripts_parameters.go @@ -53,10 +53,12 @@ func NewGetBuildScriptsParamsWithHTTPClient(client *http.Client) *GetBuildScript } } -/* GetBuildScriptsParams contains all the parameters to send to the API endpoint - for the get build scripts operation. +/* +GetBuildScriptsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get build scripts operation. + + Typically these are written to a http.Request. */ type GetBuildScriptsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_scripts_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_scripts_responses.go index d5cdd4c8ae..58e6eea3ce 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_scripts_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_build_scripts_responses.go @@ -46,7 +46,8 @@ func NewGetBuildScriptsOK() *GetBuildScriptsOK { return &GetBuildScriptsOK{} } -/* GetBuildScriptsOK describes a response with status code 200, with default header values. +/* +GetBuildScriptsOK describes a response with status code 200, with default header values. A paginated list of build scripts */ @@ -80,7 +81,8 @@ func NewGetBuildScriptsDefault(code int) *GetBuildScriptsDefault { } } -/* GetBuildScriptsDefault describes a response with status code -1, with default header values. +/* +GetBuildScriptsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architecture_cpu_extensions_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architecture_cpu_extensions_parameters.go index ee5d2b1bf2..43ddc08c95 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architecture_cpu_extensions_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architecture_cpu_extensions_parameters.go @@ -53,10 +53,12 @@ func NewGetCPUArchitectureCPUExtensionsParamsWithHTTPClient(client *http.Client) } } -/* GetCPUArchitectureCPUExtensionsParams contains all the parameters to send to the API endpoint - for the get Cpu architecture Cpu extensions operation. +/* +GetCPUArchitectureCPUExtensionsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get Cpu architecture Cpu extensions operation. + + Typically these are written to a http.Request. */ type GetCPUArchitectureCPUExtensionsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architecture_cpu_extensions_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architecture_cpu_extensions_responses.go index 6b28b74f51..19cea31d58 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architecture_cpu_extensions_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architecture_cpu_extensions_responses.go @@ -46,7 +46,8 @@ func NewGetCPUArchitectureCPUExtensionsOK() *GetCPUArchitectureCPUExtensionsOK { return &GetCPUArchitectureCPUExtensionsOK{} } -/* GetCPUArchitectureCPUExtensionsOK describes a response with status code 200, with default header values. +/* +GetCPUArchitectureCPUExtensionsOK describes a response with status code 200, with default header values. A paginated list of CPU extensions */ @@ -80,7 +81,8 @@ func NewGetCPUArchitectureCPUExtensionsDefault(code int) *GetCPUArchitectureCPUE } } -/* GetCPUArchitectureCPUExtensionsDefault describes a response with status code -1, with default header values. +/* +GetCPUArchitectureCPUExtensionsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architecture_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architecture_parameters.go index ab5b272534..26954cfaf1 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architecture_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architecture_parameters.go @@ -53,10 +53,12 @@ func NewGetCPUArchitectureParamsWithHTTPClient(client *http.Client) *GetCPUArchi } } -/* GetCPUArchitectureParams contains all the parameters to send to the API endpoint - for the get Cpu architecture operation. +/* +GetCPUArchitectureParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get Cpu architecture operation. + + Typically these are written to a http.Request. */ type GetCPUArchitectureParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architecture_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architecture_responses.go index ba13c55a9a..c2cb66afd7 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architecture_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architecture_responses.go @@ -46,7 +46,8 @@ func NewGetCPUArchitectureOK() *GetCPUArchitectureOK { return &GetCPUArchitectureOK{} } -/* GetCPUArchitectureOK describes a response with status code 200, with default header values. +/* +GetCPUArchitectureOK describes a response with status code 200, with default header values. The retrieved CPU architecture */ @@ -80,7 +81,8 @@ func NewGetCPUArchitectureDefault(code int) *GetCPUArchitectureDefault { } } -/* GetCPUArchitectureDefault describes a response with status code -1, with default header values. +/* +GetCPUArchitectureDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architectures_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architectures_parameters.go index 66d8efd6db..4fb7291a79 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architectures_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architectures_parameters.go @@ -53,10 +53,12 @@ func NewGetCPUArchitecturesParamsWithHTTPClient(client *http.Client) *GetCPUArch } } -/* GetCPUArchitecturesParams contains all the parameters to send to the API endpoint - for the get Cpu architectures operation. +/* +GetCPUArchitecturesParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get Cpu architectures operation. + + Typically these are written to a http.Request. */ type GetCPUArchitecturesParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architectures_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architectures_responses.go index 23e9a59240..ac7cff5409 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architectures_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_architectures_responses.go @@ -46,7 +46,8 @@ func NewGetCPUArchitecturesOK() *GetCPUArchitecturesOK { return &GetCPUArchitecturesOK{} } -/* GetCPUArchitecturesOK describes a response with status code 200, with default header values. +/* +GetCPUArchitecturesOK describes a response with status code 200, with default header values. A paginated list of CPU architectures */ @@ -80,7 +81,8 @@ func NewGetCPUArchitecturesDefault(code int) *GetCPUArchitecturesDefault { } } -/* GetCPUArchitecturesDefault describes a response with status code -1, with default header values. +/* +GetCPUArchitecturesDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_extension_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_extension_parameters.go index b54fafe62e..0fd701be6c 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_extension_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_extension_parameters.go @@ -53,10 +53,12 @@ func NewGetCPUExtensionParamsWithHTTPClient(client *http.Client) *GetCPUExtensio } } -/* GetCPUExtensionParams contains all the parameters to send to the API endpoint - for the get Cpu extension operation. +/* +GetCPUExtensionParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get Cpu extension operation. + + Typically these are written to a http.Request. */ type GetCPUExtensionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_extension_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_extension_responses.go index ddaf9c40ea..8525d9dc45 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_extension_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_extension_responses.go @@ -46,7 +46,8 @@ func NewGetCPUExtensionOK() *GetCPUExtensionOK { return &GetCPUExtensionOK{} } -/* GetCPUExtensionOK describes a response with status code 200, with default header values. +/* +GetCPUExtensionOK describes a response with status code 200, with default header values. The retrieved CPU extension */ @@ -80,7 +81,8 @@ func NewGetCPUExtensionDefault(code int) *GetCPUExtensionDefault { } } -/* GetCPUExtensionDefault describes a response with status code -1, with default header values. +/* +GetCPUExtensionDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_extensions_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_extensions_parameters.go index f211767c6f..5ea800a1e1 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_extensions_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_extensions_parameters.go @@ -53,10 +53,12 @@ func NewGetCPUExtensionsParamsWithHTTPClient(client *http.Client) *GetCPUExtensi } } -/* GetCPUExtensionsParams contains all the parameters to send to the API endpoint - for the get Cpu extensions operation. +/* +GetCPUExtensionsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get Cpu extensions operation. + + Typically these are written to a http.Request. */ type GetCPUExtensionsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_extensions_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_extensions_responses.go index 5c40aea6a7..b9f3994478 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_extensions_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_cpu_extensions_responses.go @@ -46,7 +46,8 @@ func NewGetCPUExtensionsOK() *GetCPUExtensionsOK { return &GetCPUExtensionsOK{} } -/* GetCPUExtensionsOK describes a response with status code 200, with default header values. +/* +GetCPUExtensionsOK describes a response with status code 200, with default header values. A paginated list of CPU extensions */ @@ -80,7 +81,8 @@ func NewGetCPUExtensionsDefault(code int) *GetCPUExtensionsDefault { } } -/* GetCPUExtensionsDefault describes a response with status code -1, with default header values. +/* +GetCPUExtensionsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_g_p_u_architecture_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_g_p_u_architecture_parameters.go index 51f03ccae1..91504707fa 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_g_p_u_architecture_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_g_p_u_architecture_parameters.go @@ -53,10 +53,12 @@ func NewGetGPUArchitectureParamsWithHTTPClient(client *http.Client) *GetGPUArchi } } -/* GetGPUArchitectureParams contains all the parameters to send to the API endpoint - for the get g p u architecture operation. +/* +GetGPUArchitectureParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get g p u architecture operation. + + Typically these are written to a http.Request. */ type GetGPUArchitectureParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_g_p_u_architecture_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_g_p_u_architecture_responses.go index 3948ffd388..2a88447273 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_g_p_u_architecture_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_g_p_u_architecture_responses.go @@ -46,7 +46,8 @@ func NewGetGPUArchitectureOK() *GetGPUArchitectureOK { return &GetGPUArchitectureOK{} } -/* GetGPUArchitectureOK describes a response with status code 200, with default header values. +/* +GetGPUArchitectureOK describes a response with status code 200, with default header values. The retrieved GPU architecture */ @@ -80,7 +81,8 @@ func NewGetGPUArchitectureDefault(code int) *GetGPUArchitectureDefault { } } -/* GetGPUArchitectureDefault describes a response with status code -1, with default header values. +/* +GetGPUArchitectureDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_g_p_u_architectures_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_g_p_u_architectures_parameters.go index dc2c69f461..ab07c72dd5 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_g_p_u_architectures_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_g_p_u_architectures_parameters.go @@ -53,10 +53,12 @@ func NewGetGPUArchitecturesParamsWithHTTPClient(client *http.Client) *GetGPUArch } } -/* GetGPUArchitecturesParams contains all the parameters to send to the API endpoint - for the get g p u architectures operation. +/* +GetGPUArchitecturesParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get g p u architectures operation. + + Typically these are written to a http.Request. */ type GetGPUArchitecturesParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_g_p_u_architectures_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_g_p_u_architectures_responses.go index 83adf6bb29..d790307135 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_g_p_u_architectures_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_g_p_u_architectures_responses.go @@ -46,7 +46,8 @@ func NewGetGPUArchitecturesOK() *GetGPUArchitecturesOK { return &GetGPUArchitecturesOK{} } -/* GetGPUArchitecturesOK describes a response with status code 200, with default header values. +/* +GetGPUArchitecturesOK describes a response with status code 200, with default header values. A paginated list of GPU architectures */ @@ -80,7 +81,8 @@ func NewGetGPUArchitecturesDefault(code int) *GetGPUArchitecturesDefault { } } -/* GetGPUArchitecturesDefault describes a response with status code -1, with default header values. +/* +GetGPUArchitecturesDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_image_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_image_parameters.go index 7e59074995..ba19ba66c4 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_image_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_image_parameters.go @@ -53,10 +53,12 @@ func NewGetImageParamsWithHTTPClient(client *http.Client) *GetImageParams { } } -/* GetImageParams contains all the parameters to send to the API endpoint - for the get image operation. +/* +GetImageParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get image operation. + + Typically these are written to a http.Request. */ type GetImageParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_image_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_image_responses.go index fecb3a21a2..310d07bc62 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_image_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_image_responses.go @@ -46,7 +46,8 @@ func NewGetImageOK() *GetImageOK { return &GetImageOK{} } -/* GetImageOK describes a response with status code 200, with default header values. +/* +GetImageOK describes a response with status code 200, with default header values. Retrieve the image */ @@ -80,7 +81,8 @@ func NewGetImageDefault(code int) *GetImageDefault { } } -/* GetImageDefault describes a response with status code -1, with default header values. +/* +GetImageDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_images_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_images_parameters.go index ca61236e8a..d1365fa7cf 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_images_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_images_parameters.go @@ -53,10 +53,12 @@ func NewGetImagesParamsWithHTTPClient(client *http.Client) *GetImagesParams { } } -/* GetImagesParams contains all the parameters to send to the API endpoint - for the get images operation. +/* +GetImagesParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get images operation. + + Typically these are written to a http.Request. */ type GetImagesParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_images_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_images_responses.go index 276fdf3e9a..6ba578967d 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_images_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_images_responses.go @@ -46,7 +46,8 @@ func NewGetImagesOK() *GetImagesOK { return &GetImagesOK{} } -/* GetImagesOK describes a response with status code 200, with default header values. +/* +GetImagesOK describes a response with status code 200, with default header values. A paginated list of images */ @@ -80,7 +81,8 @@ func NewGetImagesDefault(code int) *GetImagesDefault { } } -/* GetImagesDefault describes a response with status code -1, with default header values. +/* +GetImagesDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_set_ingredient_versions_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_set_ingredient_versions_parameters.go index 939b00c980..1dadd6c0af 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_set_ingredient_versions_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_set_ingredient_versions_parameters.go @@ -53,10 +53,12 @@ func NewGetIngredientOptionSetIngredientVersionsParamsWithHTTPClient(client *htt } } -/* GetIngredientOptionSetIngredientVersionsParams contains all the parameters to send to the API endpoint - for the get ingredient option set ingredient versions operation. +/* +GetIngredientOptionSetIngredientVersionsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get ingredient option set ingredient versions operation. + + Typically these are written to a http.Request. */ type GetIngredientOptionSetIngredientVersionsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_set_ingredient_versions_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_set_ingredient_versions_responses.go index 7146ad96cf..ae3f66c720 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_set_ingredient_versions_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_set_ingredient_versions_responses.go @@ -46,7 +46,8 @@ func NewGetIngredientOptionSetIngredientVersionsOK() *GetIngredientOptionSetIngr return &GetIngredientOptionSetIngredientVersionsOK{} } -/* GetIngredientOptionSetIngredientVersionsOK describes a response with status code 200, with default header values. +/* +GetIngredientOptionSetIngredientVersionsOK describes a response with status code 200, with default header values. A paginated list of ingredient versions */ @@ -80,7 +81,8 @@ func NewGetIngredientOptionSetIngredientVersionsDefault(code int) *GetIngredient } } -/* GetIngredientOptionSetIngredientVersionsDefault describes a response with status code -1, with default header values. +/* +GetIngredientOptionSetIngredientVersionsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_set_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_set_parameters.go index 679b65452c..9a434d78a9 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_set_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_set_parameters.go @@ -53,10 +53,12 @@ func NewGetIngredientOptionSetParamsWithHTTPClient(client *http.Client) *GetIngr } } -/* GetIngredientOptionSetParams contains all the parameters to send to the API endpoint - for the get ingredient option set operation. +/* +GetIngredientOptionSetParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get ingredient option set operation. + + Typically these are written to a http.Request. */ type GetIngredientOptionSetParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_set_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_set_responses.go index 8238cd094c..473895e495 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_set_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_set_responses.go @@ -46,7 +46,8 @@ func NewGetIngredientOptionSetOK() *GetIngredientOptionSetOK { return &GetIngredientOptionSetOK{} } -/* GetIngredientOptionSetOK describes a response with status code 200, with default header values. +/* +GetIngredientOptionSetOK describes a response with status code 200, with default header values. The retrieved ingredient option set */ @@ -80,7 +81,8 @@ func NewGetIngredientOptionSetDefault(code int) *GetIngredientOptionSetDefault { } } -/* GetIngredientOptionSetDefault describes a response with status code -1, with default header values. +/* +GetIngredientOptionSetDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_sets_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_sets_parameters.go index f35969650e..17280a62c4 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_sets_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_sets_parameters.go @@ -53,10 +53,12 @@ func NewGetIngredientOptionSetsParamsWithHTTPClient(client *http.Client) *GetIng } } -/* GetIngredientOptionSetsParams contains all the parameters to send to the API endpoint - for the get ingredient option sets operation. +/* +GetIngredientOptionSetsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get ingredient option sets operation. + + Typically these are written to a http.Request. */ type GetIngredientOptionSetsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_sets_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_sets_responses.go index de78477751..bbe8d012a5 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_sets_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_option_sets_responses.go @@ -46,7 +46,8 @@ func NewGetIngredientOptionSetsOK() *GetIngredientOptionSetsOK { return &GetIngredientOptionSetsOK{} } -/* GetIngredientOptionSetsOK describes a response with status code 200, with default header values. +/* +GetIngredientOptionSetsOK describes a response with status code 200, with default header values. A paginated list of ingredient option sets */ @@ -80,7 +81,8 @@ func NewGetIngredientOptionSetsDefault(code int) *GetIngredientOptionSetsDefault } } -/* GetIngredientOptionSetsDefault describes a response with status code -1, with default header values. +/* +GetIngredientOptionSetsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_parameters.go index 51a741db2f..989d523b2b 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_parameters.go @@ -52,10 +52,12 @@ func NewGetIngredientParamsWithHTTPClient(client *http.Client) *GetIngredientPar } } -/* GetIngredientParams contains all the parameters to send to the API endpoint - for the get ingredient operation. +/* +GetIngredientParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get ingredient operation. + + Typically these are written to a http.Request. */ type GetIngredientParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_responses.go index f16280632b..83afbc169b 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_responses.go @@ -46,7 +46,8 @@ func NewGetIngredientOK() *GetIngredientOK { return &GetIngredientOK{} } -/* GetIngredientOK describes a response with status code 200, with default header values. +/* +GetIngredientOK describes a response with status code 200, with default header values. The retrieved ingredient */ @@ -80,7 +81,8 @@ func NewGetIngredientDefault(code int) *GetIngredientDefault { } } -/* GetIngredientDefault describes a response with status code -1, with default header values. +/* +GetIngredientDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_authors_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_authors_parameters.go index c05ba3165f..b0a469272d 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_authors_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_authors_parameters.go @@ -53,10 +53,12 @@ func NewGetIngredientVersionAuthorsParamsWithHTTPClient(client *http.Client) *Ge } } -/* GetIngredientVersionAuthorsParams contains all the parameters to send to the API endpoint - for the get ingredient version authors operation. +/* +GetIngredientVersionAuthorsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get ingredient version authors operation. + + Typically these are written to a http.Request. */ type GetIngredientVersionAuthorsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_authors_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_authors_responses.go index bfae19e473..59db31849c 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_authors_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_authors_responses.go @@ -46,7 +46,8 @@ func NewGetIngredientVersionAuthorsOK() *GetIngredientVersionAuthorsOK { return &GetIngredientVersionAuthorsOK{} } -/* GetIngredientVersionAuthorsOK describes a response with status code 200, with default header values. +/* +GetIngredientVersionAuthorsOK describes a response with status code 200, with default header values. A paginated list of authors */ @@ -80,7 +81,8 @@ func NewGetIngredientVersionAuthorsDefault(code int) *GetIngredientVersionAuthor } } -/* GetIngredientVersionAuthorsDefault describes a response with status code -1, with default header values. +/* +GetIngredientVersionAuthorsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_build_scripts_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_build_scripts_parameters.go index c9fcdf4529..569068acbe 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_build_scripts_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_build_scripts_parameters.go @@ -53,10 +53,12 @@ func NewGetIngredientVersionBuildScriptsParamsWithHTTPClient(client *http.Client } } -/* GetIngredientVersionBuildScriptsParams contains all the parameters to send to the API endpoint - for the get ingredient version build scripts operation. +/* +GetIngredientVersionBuildScriptsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get ingredient version build scripts operation. + + Typically these are written to a http.Request. */ type GetIngredientVersionBuildScriptsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_build_scripts_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_build_scripts_responses.go index c393e1923e..0683ece9d8 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_build_scripts_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_build_scripts_responses.go @@ -46,7 +46,8 @@ func NewGetIngredientVersionBuildScriptsOK() *GetIngredientVersionBuildScriptsOK return &GetIngredientVersionBuildScriptsOK{} } -/* GetIngredientVersionBuildScriptsOK describes a response with status code 200, with default header values. +/* +GetIngredientVersionBuildScriptsOK describes a response with status code 200, with default header values. A paginated list of build scripts */ @@ -80,7 +81,8 @@ func NewGetIngredientVersionBuildScriptsDefault(code int) *GetIngredientVersionB } } -/* GetIngredientVersionBuildScriptsDefault describes a response with status code -1, with default header values. +/* +GetIngredientVersionBuildScriptsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_ingredient_option_sets_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_ingredient_option_sets_parameters.go index 6bbecdb12a..a624787b4c 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_ingredient_option_sets_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_ingredient_option_sets_parameters.go @@ -53,10 +53,12 @@ func NewGetIngredientVersionIngredientOptionSetsParamsWithHTTPClient(client *htt } } -/* GetIngredientVersionIngredientOptionSetsParams contains all the parameters to send to the API endpoint - for the get ingredient version ingredient option sets operation. +/* +GetIngredientVersionIngredientOptionSetsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get ingredient version ingredient option sets operation. + + Typically these are written to a http.Request. */ type GetIngredientVersionIngredientOptionSetsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_ingredient_option_sets_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_ingredient_option_sets_responses.go index 1b3af06b9d..4a16958f41 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_ingredient_option_sets_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_ingredient_option_sets_responses.go @@ -46,7 +46,8 @@ func NewGetIngredientVersionIngredientOptionSetsOK() *GetIngredientVersionIngred return &GetIngredientVersionIngredientOptionSetsOK{} } -/* GetIngredientVersionIngredientOptionSetsOK describes a response with status code 200, with default header values. +/* +GetIngredientVersionIngredientOptionSetsOK describes a response with status code 200, with default header values. A paginated list of ingredient option sets */ @@ -80,7 +81,8 @@ func NewGetIngredientVersionIngredientOptionSetsDefault(code int) *GetIngredient } } -/* GetIngredientVersionIngredientOptionSetsDefault describes a response with status code -1, with default header values. +/* +GetIngredientVersionIngredientOptionSetsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_parameters.go index 80940f6966..b559523aab 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_parameters.go @@ -53,10 +53,12 @@ func NewGetIngredientVersionParamsWithHTTPClient(client *http.Client) *GetIngred } } -/* GetIngredientVersionParams contains all the parameters to send to the API endpoint - for the get ingredient version operation. +/* +GetIngredientVersionParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get ingredient version operation. + + Typically these are written to a http.Request. */ type GetIngredientVersionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_patches_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_patches_parameters.go index abf19861ff..1af287ecb0 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_patches_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_patches_parameters.go @@ -53,10 +53,12 @@ func NewGetIngredientVersionPatchesParamsWithHTTPClient(client *http.Client) *Ge } } -/* GetIngredientVersionPatchesParams contains all the parameters to send to the API endpoint - for the get ingredient version patches operation. +/* +GetIngredientVersionPatchesParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get ingredient version patches operation. + + Typically these are written to a http.Request. */ type GetIngredientVersionPatchesParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_patches_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_patches_responses.go index f3568c06a3..0b13bc481d 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_patches_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_patches_responses.go @@ -46,7 +46,8 @@ func NewGetIngredientVersionPatchesOK() *GetIngredientVersionPatchesOK { return &GetIngredientVersionPatchesOK{} } -/* GetIngredientVersionPatchesOK describes a response with status code 200, with default header values. +/* +GetIngredientVersionPatchesOK describes a response with status code 200, with default header values. A paginated list of patches for this ingredient version */ @@ -80,7 +81,8 @@ func NewGetIngredientVersionPatchesDefault(code int) *GetIngredientVersionPatche } } -/* GetIngredientVersionPatchesDefault describes a response with status code -1, with default header values. +/* +GetIngredientVersionPatchesDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_responses.go index dcdbdedcce..687ac97eb5 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_responses.go @@ -46,7 +46,8 @@ func NewGetIngredientVersionOK() *GetIngredientVersionOK { return &GetIngredientVersionOK{} } -/* GetIngredientVersionOK describes a response with status code 200, with default header values. +/* +GetIngredientVersionOK describes a response with status code 200, with default header values. The retrieved ingredient version */ @@ -80,7 +81,8 @@ func NewGetIngredientVersionDefault(code int) *GetIngredientVersionDefault { } } -/* GetIngredientVersionDefault describes a response with status code -1, with default header values. +/* +GetIngredientVersionDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_revision_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_revision_parameters.go index 8fb1d85990..c6feede399 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_revision_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_revision_parameters.go @@ -53,10 +53,12 @@ func NewGetIngredientVersionRevisionParamsWithHTTPClient(client *http.Client) *G } } -/* GetIngredientVersionRevisionParams contains all the parameters to send to the API endpoint - for the get ingredient version revision operation. +/* +GetIngredientVersionRevisionParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get ingredient version revision operation. + + Typically these are written to a http.Request. */ type GetIngredientVersionRevisionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_revision_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_revision_responses.go index 099413751a..a2a2d3d36e 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_revision_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_revision_responses.go @@ -46,7 +46,8 @@ func NewGetIngredientVersionRevisionOK() *GetIngredientVersionRevisionOK { return &GetIngredientVersionRevisionOK{} } -/* GetIngredientVersionRevisionOK describes a response with status code 200, with default header values. +/* +GetIngredientVersionRevisionOK describes a response with status code 200, with default header values. The retrieved ingredient version revision */ @@ -80,7 +81,8 @@ func NewGetIngredientVersionRevisionDefault(code int) *GetIngredientVersionRevis } } -/* GetIngredientVersionRevisionDefault describes a response with status code -1, with default header values. +/* +GetIngredientVersionRevisionDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_revisions_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_revisions_parameters.go index 868c3dd48f..aad20084e6 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_revisions_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_revisions_parameters.go @@ -53,10 +53,12 @@ func NewGetIngredientVersionRevisionsParamsWithHTTPClient(client *http.Client) * } } -/* GetIngredientVersionRevisionsParams contains all the parameters to send to the API endpoint - for the get ingredient version revisions operation. +/* +GetIngredientVersionRevisionsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get ingredient version revisions operation. + + Typically these are written to a http.Request. */ type GetIngredientVersionRevisionsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_revisions_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_revisions_responses.go index bd6ebf8c00..9f01460dec 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_revisions_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_version_revisions_responses.go @@ -46,7 +46,8 @@ func NewGetIngredientVersionRevisionsOK() *GetIngredientVersionRevisionsOK { return &GetIngredientVersionRevisionsOK{} } -/* GetIngredientVersionRevisionsOK describes a response with status code 200, with default header values. +/* +GetIngredientVersionRevisionsOK describes a response with status code 200, with default header values. A paginated list of ingredient version revisions */ @@ -80,7 +81,8 @@ func NewGetIngredientVersionRevisionsDefault(code int) *GetIngredientVersionRevi } } -/* GetIngredientVersionRevisionsDefault describes a response with status code -1, with default header values. +/* +GetIngredientVersionRevisionsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_versions_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_versions_parameters.go index c6955339cf..ff1be509dd 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_versions_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_versions_parameters.go @@ -53,10 +53,12 @@ func NewGetIngredientVersionsParamsWithHTTPClient(client *http.Client) *GetIngre } } -/* GetIngredientVersionsParams contains all the parameters to send to the API endpoint - for the get ingredient versions operation. +/* +GetIngredientVersionsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get ingredient versions operation. + + Typically these are written to a http.Request. */ type GetIngredientVersionsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_versions_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_versions_responses.go index 3411fc1fa9..7723656d95 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_versions_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredient_versions_responses.go @@ -46,7 +46,8 @@ func NewGetIngredientVersionsOK() *GetIngredientVersionsOK { return &GetIngredientVersionsOK{} } -/* GetIngredientVersionsOK describes a response with status code 200, with default header values. +/* +GetIngredientVersionsOK describes a response with status code 200, with default header values. A paginated list of ingredient versions */ @@ -80,7 +81,8 @@ func NewGetIngredientVersionsDefault(code int) *GetIngredientVersionsDefault { } } -/* GetIngredientVersionsDefault describes a response with status code -1, with default header values. +/* +GetIngredientVersionsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredients_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredients_parameters.go index bc530e816d..a273ad4726 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredients_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredients_parameters.go @@ -53,10 +53,12 @@ func NewGetIngredientsParamsWithHTTPClient(client *http.Client) *GetIngredientsP } } -/* GetIngredientsParams contains all the parameters to send to the API endpoint - for the get ingredients operation. +/* +GetIngredientsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get ingredients operation. + + Typically these are written to a http.Request. */ type GetIngredientsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredients_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredients_responses.go index c346f45b6f..e659150d08 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredients_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_ingredients_responses.go @@ -46,7 +46,8 @@ func NewGetIngredientsOK() *GetIngredientsOK { return &GetIngredientsOK{} } -/* GetIngredientsOK describes a response with status code 200, with default header values. +/* +GetIngredientsOK describes a response with status code 200, with default header values. A paginated list of ingredients */ @@ -80,7 +81,8 @@ func NewGetIngredientsDefault(code int) *GetIngredientsDefault { } } -/* GetIngredientsDefault describes a response with status code -1, with default header values. +/* +GetIngredientsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_cpu_architectures_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_cpu_architectures_parameters.go index 0c23378218..31dd6bad67 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_cpu_architectures_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_cpu_architectures_parameters.go @@ -53,10 +53,12 @@ func NewGetKernelCPUArchitecturesParamsWithHTTPClient(client *http.Client) *GetK } } -/* GetKernelCPUArchitecturesParams contains all the parameters to send to the API endpoint - for the get kernel Cpu architectures operation. +/* +GetKernelCPUArchitecturesParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get kernel Cpu architectures operation. + + Typically these are written to a http.Request. */ type GetKernelCPUArchitecturesParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_cpu_architectures_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_cpu_architectures_responses.go index 41657094de..6096502f7a 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_cpu_architectures_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_cpu_architectures_responses.go @@ -46,7 +46,8 @@ func NewGetKernelCPUArchitecturesOK() *GetKernelCPUArchitecturesOK { return &GetKernelCPUArchitecturesOK{} } -/* GetKernelCPUArchitecturesOK describes a response with status code 200, with default header values. +/* +GetKernelCPUArchitecturesOK describes a response with status code 200, with default header values. A paginated list of CPU architectures */ @@ -80,7 +81,8 @@ func NewGetKernelCPUArchitecturesDefault(code int) *GetKernelCPUArchitecturesDef } } -/* GetKernelCPUArchitecturesDefault describes a response with status code -1, with default header values. +/* +GetKernelCPUArchitecturesDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_g_p_u_architectures_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_g_p_u_architectures_parameters.go index 75854bdd6e..cdbb2494a1 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_g_p_u_architectures_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_g_p_u_architectures_parameters.go @@ -53,10 +53,12 @@ func NewGetKernelGPUArchitecturesParamsWithHTTPClient(client *http.Client) *GetK } } -/* GetKernelGPUArchitecturesParams contains all the parameters to send to the API endpoint - for the get kernel g p u architectures operation. +/* +GetKernelGPUArchitecturesParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get kernel g p u architectures operation. + + Typically these are written to a http.Request. */ type GetKernelGPUArchitecturesParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_g_p_u_architectures_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_g_p_u_architectures_responses.go index daac29fbfb..682f089134 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_g_p_u_architectures_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_g_p_u_architectures_responses.go @@ -46,7 +46,8 @@ func NewGetKernelGPUArchitecturesOK() *GetKernelGPUArchitecturesOK { return &GetKernelGPUArchitecturesOK{} } -/* GetKernelGPUArchitecturesOK describes a response with status code 200, with default header values. +/* +GetKernelGPUArchitecturesOK describes a response with status code 200, with default header values. A paginated list of GPU architectures */ @@ -80,7 +81,8 @@ func NewGetKernelGPUArchitecturesDefault(code int) *GetKernelGPUArchitecturesDef } } -/* GetKernelGPUArchitecturesDefault describes a response with status code -1, with default header values. +/* +GetKernelGPUArchitecturesDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_parameters.go index 8a19886574..e578118f51 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_parameters.go @@ -52,10 +52,12 @@ func NewGetKernelParamsWithHTTPClient(client *http.Client) *GetKernelParams { } } -/* GetKernelParams contains all the parameters to send to the API endpoint - for the get kernel operation. +/* +GetKernelParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get kernel operation. + + Typically these are written to a http.Request. */ type GetKernelParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_responses.go index 0153d07073..b7de4e83ca 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_responses.go @@ -46,7 +46,8 @@ func NewGetKernelOK() *GetKernelOK { return &GetKernelOK{} } -/* GetKernelOK describes a response with status code 200, with default header values. +/* +GetKernelOK describes a response with status code 200, with default header values. The retrieved kernel */ @@ -80,7 +81,8 @@ func NewGetKernelDefault(code int) *GetKernelDefault { } } -/* GetKernelDefault describes a response with status code -1, with default header values. +/* +GetKernelDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_version_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_version_parameters.go index b530a54323..d4f88d8941 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_version_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_version_parameters.go @@ -53,10 +53,12 @@ func NewGetKernelVersionParamsWithHTTPClient(client *http.Client) *GetKernelVers } } -/* GetKernelVersionParams contains all the parameters to send to the API endpoint - for the get kernel version operation. +/* +GetKernelVersionParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get kernel version operation. + + Typically these are written to a http.Request. */ type GetKernelVersionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_version_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_version_responses.go index c91d55d3c7..70ecd9eb75 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_version_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_version_responses.go @@ -46,7 +46,8 @@ func NewGetKernelVersionOK() *GetKernelVersionOK { return &GetKernelVersionOK{} } -/* GetKernelVersionOK describes a response with status code 200, with default header values. +/* +GetKernelVersionOK describes a response with status code 200, with default header values. The retrieved kernel version */ @@ -80,7 +81,8 @@ func NewGetKernelVersionDefault(code int) *GetKernelVersionDefault { } } -/* GetKernelVersionDefault describes a response with status code -1, with default header values. +/* +GetKernelVersionDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_versions_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_versions_parameters.go index c3d0612e24..48d28097ca 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_versions_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_versions_parameters.go @@ -53,10 +53,12 @@ func NewGetKernelVersionsParamsWithHTTPClient(client *http.Client) *GetKernelVer } } -/* GetKernelVersionsParams contains all the parameters to send to the API endpoint - for the get kernel versions operation. +/* +GetKernelVersionsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get kernel versions operation. + + Typically these are written to a http.Request. */ type GetKernelVersionsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_versions_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_versions_responses.go index 82f8c31642..12b1a963ae 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_versions_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernel_versions_responses.go @@ -46,7 +46,8 @@ func NewGetKernelVersionsOK() *GetKernelVersionsOK { return &GetKernelVersionsOK{} } -/* GetKernelVersionsOK describes a response with status code 200, with default header values. +/* +GetKernelVersionsOK describes a response with status code 200, with default header values. A paginated list of kernel versions */ @@ -80,7 +81,8 @@ func NewGetKernelVersionsDefault(code int) *GetKernelVersionsDefault { } } -/* GetKernelVersionsDefault describes a response with status code -1, with default header values. +/* +GetKernelVersionsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernels_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernels_parameters.go index 43db601083..696eaf308c 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernels_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernels_parameters.go @@ -53,10 +53,12 @@ func NewGetKernelsParamsWithHTTPClient(client *http.Client) *GetKernelsParams { } } -/* GetKernelsParams contains all the parameters to send to the API endpoint - for the get kernels operation. +/* +GetKernelsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get kernels operation. + + Typically these are written to a http.Request. */ type GetKernelsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernels_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernels_responses.go index 947a1ff210..2e5564064d 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernels_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_kernels_responses.go @@ -46,7 +46,8 @@ func NewGetKernelsOK() *GetKernelsOK { return &GetKernelsOK{} } -/* GetKernelsOK describes a response with status code 200, with default header values. +/* +GetKernelsOK describes a response with status code 200, with default header values. A paginated list of kernels */ @@ -80,7 +81,8 @@ func NewGetKernelsDefault(code int) *GetKernelsDefault { } } -/* GetKernelsDefault describes a response with status code -1, with default header values. +/* +GetKernelsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_latest_timestamp_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_latest_timestamp_parameters.go index 5d59f2195f..1391517e47 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_latest_timestamp_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_latest_timestamp_parameters.go @@ -52,10 +52,12 @@ func NewGetLatestTimestampParamsWithHTTPClient(client *http.Client) *GetLatestTi } } -/* GetLatestTimestampParams contains all the parameters to send to the API endpoint - for the get latest timestamp operation. +/* +GetLatestTimestampParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get latest timestamp operation. + + Typically these are written to a http.Request. */ type GetLatestTimestampParams struct { timeout time.Duration diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_latest_timestamp_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_latest_timestamp_responses.go index d1583cc9c4..edcccafb0f 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_latest_timestamp_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_latest_timestamp_responses.go @@ -46,7 +46,8 @@ func NewGetLatestTimestampOK() *GetLatestTimestampOK { return &GetLatestTimestampOK{} } -/* GetLatestTimestampOK describes a response with status code 200, with default header values. +/* +GetLatestTimestampOK describes a response with status code 200, with default header values. The latest timestamp */ @@ -80,7 +81,8 @@ func NewGetLatestTimestampDefault(code int) *GetLatestTimestampDefault { } } -/* GetLatestTimestampDefault describes a response with status code -1, with default header values. +/* +GetLatestTimestampDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_parameters.go index 7ded43668d..8569a71bf8 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_parameters.go @@ -52,10 +52,12 @@ func NewGetLibcParamsWithHTTPClient(client *http.Client) *GetLibcParams { } } -/* GetLibcParams contains all the parameters to send to the API endpoint - for the get libc operation. +/* +GetLibcParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get libc operation. + + Typically these are written to a http.Request. */ type GetLibcParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_responses.go index a5e078156c..b5401f71c7 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_responses.go @@ -46,7 +46,8 @@ func NewGetLibcOK() *GetLibcOK { return &GetLibcOK{} } -/* GetLibcOK describes a response with status code 200, with default header values. +/* +GetLibcOK describes a response with status code 200, with default header values. The retrieved libc */ @@ -80,7 +81,8 @@ func NewGetLibcDefault(code int) *GetLibcDefault { } } -/* GetLibcDefault describes a response with status code -1, with default header values. +/* +GetLibcDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_version_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_version_parameters.go index a0b8bff975..d29bdb387e 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_version_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_version_parameters.go @@ -53,10 +53,12 @@ func NewGetLibcVersionParamsWithHTTPClient(client *http.Client) *GetLibcVersionP } } -/* GetLibcVersionParams contains all the parameters to send to the API endpoint - for the get libc version operation. +/* +GetLibcVersionParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get libc version operation. + + Typically these are written to a http.Request. */ type GetLibcVersionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_version_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_version_responses.go index 4e38e742e4..e512c83f7a 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_version_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_version_responses.go @@ -46,7 +46,8 @@ func NewGetLibcVersionOK() *GetLibcVersionOK { return &GetLibcVersionOK{} } -/* GetLibcVersionOK describes a response with status code 200, with default header values. +/* +GetLibcVersionOK describes a response with status code 200, with default header values. The retrieved libc version */ @@ -80,7 +81,8 @@ func NewGetLibcVersionDefault(code int) *GetLibcVersionDefault { } } -/* GetLibcVersionDefault describes a response with status code -1, with default header values. +/* +GetLibcVersionDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_versions_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_versions_parameters.go index 7c528b4ae0..31635ed218 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_versions_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_versions_parameters.go @@ -53,10 +53,12 @@ func NewGetLibcVersionsParamsWithHTTPClient(client *http.Client) *GetLibcVersion } } -/* GetLibcVersionsParams contains all the parameters to send to the API endpoint - for the get libc versions operation. +/* +GetLibcVersionsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get libc versions operation. + + Typically these are written to a http.Request. */ type GetLibcVersionsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_versions_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_versions_responses.go index ff8fdb6a7e..e70404c91a 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_versions_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libc_versions_responses.go @@ -46,7 +46,8 @@ func NewGetLibcVersionsOK() *GetLibcVersionsOK { return &GetLibcVersionsOK{} } -/* GetLibcVersionsOK describes a response with status code 200, with default header values. +/* +GetLibcVersionsOK describes a response with status code 200, with default header values. A paginated list of libc versions */ @@ -80,7 +81,8 @@ func NewGetLibcVersionsDefault(code int) *GetLibcVersionsDefault { } } -/* GetLibcVersionsDefault describes a response with status code -1, with default header values. +/* +GetLibcVersionsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libcs_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libcs_parameters.go index bfcfdd6715..959b8e9a85 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libcs_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libcs_parameters.go @@ -53,10 +53,12 @@ func NewGetLibcsParamsWithHTTPClient(client *http.Client) *GetLibcsParams { } } -/* GetLibcsParams contains all the parameters to send to the API endpoint - for the get libcs operation. +/* +GetLibcsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get libcs operation. + + Typically these are written to a http.Request. */ type GetLibcsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libcs_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libcs_responses.go index babdcbed26..ce9f639694 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libcs_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_libcs_responses.go @@ -46,7 +46,8 @@ func NewGetLibcsOK() *GetLibcsOK { return &GetLibcsOK{} } -/* GetLibcsOK describes a response with status code 200, with default header values. +/* +GetLibcsOK describes a response with status code 200, with default header values. A paginated list of libcs */ @@ -80,7 +81,8 @@ func NewGetLibcsDefault(code int) *GetLibcsDefault { } } -/* GetLibcsDefault describes a response with status code -1, with default header values. +/* +GetLibcsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_parameters.go index a2fb7c4701..d849919690 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_parameters.go @@ -52,10 +52,12 @@ func NewGetNamespaceIngredientParamsWithHTTPClient(client *http.Client) *GetName } } -/* GetNamespaceIngredientParams contains all the parameters to send to the API endpoint - for the get namespace ingredient operation. +/* +GetNamespaceIngredientParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get namespace ingredient operation. + + Typically these are written to a http.Request. */ type GetNamespaceIngredientParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_responses.go index b4065e0d37..fbcffbeece 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_responses.go @@ -52,7 +52,8 @@ func NewGetNamespaceIngredientOK() *GetNamespaceIngredientOK { return &GetNamespaceIngredientOK{} } -/* GetNamespaceIngredientOK describes a response with status code 200, with default header values. +/* +GetNamespaceIngredientOK describes a response with status code 200, with default header values. The retrieved ingredient */ @@ -84,7 +85,8 @@ func NewGetNamespaceIngredientNotFound() *GetNamespaceIngredientNotFound { return &GetNamespaceIngredientNotFound{} } -/* GetNamespaceIngredientNotFound describes a response with status code 404, with default header values. +/* +GetNamespaceIngredientNotFound describes a response with status code 404, with default header values. There is no ingredient with the given namespace and name */ @@ -118,7 +120,8 @@ func NewGetNamespaceIngredientDefault(code int) *GetNamespaceIngredientDefault { } } -/* GetNamespaceIngredientDefault describes a response with status code -1, with default header values. +/* +GetNamespaceIngredientDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_version_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_version_parameters.go index 5e20ad16cc..549a955844 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_version_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_version_parameters.go @@ -53,10 +53,12 @@ func NewGetNamespaceIngredientVersionParamsWithHTTPClient(client *http.Client) * } } -/* GetNamespaceIngredientVersionParams contains all the parameters to send to the API endpoint - for the get namespace ingredient version operation. +/* +GetNamespaceIngredientVersionParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get namespace ingredient version operation. + + Typically these are written to a http.Request. */ type GetNamespaceIngredientVersionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_version_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_version_responses.go index af4597eee9..a02f12f642 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_version_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_version_responses.go @@ -52,7 +52,8 @@ func NewGetNamespaceIngredientVersionOK() *GetNamespaceIngredientVersionOK { return &GetNamespaceIngredientVersionOK{} } -/* GetNamespaceIngredientVersionOK describes a response with status code 200, with default header values. +/* +GetNamespaceIngredientVersionOK describes a response with status code 200, with default header values. The retrieved ingredient */ @@ -84,7 +85,8 @@ func NewGetNamespaceIngredientVersionNotFound() *GetNamespaceIngredientVersionNo return &GetNamespaceIngredientVersionNotFound{} } -/* GetNamespaceIngredientVersionNotFound describes a response with status code 404, with default header values. +/* +GetNamespaceIngredientVersionNotFound describes a response with status code 404, with default header values. There is no ingredient with the given namespace, name, and version */ @@ -118,7 +120,8 @@ func NewGetNamespaceIngredientVersionDefault(code int) *GetNamespaceIngredientVe } } -/* GetNamespaceIngredientVersionDefault describes a response with status code -1, with default header values. +/* +GetNamespaceIngredientVersionDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_versions_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_versions_parameters.go index 094b9e3f70..bbda222092 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_versions_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_versions_parameters.go @@ -53,10 +53,12 @@ func NewGetNamespaceIngredientVersionsParamsWithHTTPClient(client *http.Client) } } -/* GetNamespaceIngredientVersionsParams contains all the parameters to send to the API endpoint - for the get namespace ingredient versions operation. +/* +GetNamespaceIngredientVersionsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get namespace ingredient versions operation. + + Typically these are written to a http.Request. */ type GetNamespaceIngredientVersionsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_versions_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_versions_responses.go index c329ed6964..c36ed693b3 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_versions_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredient_versions_responses.go @@ -52,7 +52,8 @@ func NewGetNamespaceIngredientVersionsOK() *GetNamespaceIngredientVersionsOK { return &GetNamespaceIngredientVersionsOK{} } -/* GetNamespaceIngredientVersionsOK describes a response with status code 200, with default header values. +/* +GetNamespaceIngredientVersionsOK describes a response with status code 200, with default header values. A paginated list of ingredient versions */ @@ -84,7 +85,8 @@ func NewGetNamespaceIngredientVersionsNotFound() *GetNamespaceIngredientVersions return &GetNamespaceIngredientVersionsNotFound{} } -/* GetNamespaceIngredientVersionsNotFound describes a response with status code 404, with default header values. +/* +GetNamespaceIngredientVersionsNotFound describes a response with status code 404, with default header values. There is no ingredient with the given namespace and name */ @@ -118,7 +120,8 @@ func NewGetNamespaceIngredientVersionsDefault(code int) *GetNamespaceIngredientV } } -/* GetNamespaceIngredientVersionsDefault describes a response with status code -1, with default header values. +/* +GetNamespaceIngredientVersionsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredients_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredients_parameters.go index 8d9d7bf7d6..167a28ce74 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredients_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredients_parameters.go @@ -53,10 +53,12 @@ func NewGetNamespaceIngredientsParamsWithHTTPClient(client *http.Client) *GetNam } } -/* GetNamespaceIngredientsParams contains all the parameters to send to the API endpoint - for the get namespace ingredients operation. +/* +GetNamespaceIngredientsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get namespace ingredients operation. + + Typically these are written to a http.Request. */ type GetNamespaceIngredientsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredients_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredients_responses.go index e0868e3d7a..91def156da 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredients_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespace_ingredients_responses.go @@ -46,7 +46,8 @@ func NewGetNamespaceIngredientsOK() *GetNamespaceIngredientsOK { return &GetNamespaceIngredientsOK{} } -/* GetNamespaceIngredientsOK describes a response with status code 200, with default header values. +/* +GetNamespaceIngredientsOK describes a response with status code 200, with default header values. A paginated list of ingredients and versions */ @@ -80,7 +81,8 @@ func NewGetNamespaceIngredientsDefault(code int) *GetNamespaceIngredientsDefault } } -/* GetNamespaceIngredientsDefault describes a response with status code -1, with default header values. +/* +GetNamespaceIngredientsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespaces_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespaces_parameters.go index c5ceffda4f..af247e2104 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespaces_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespaces_parameters.go @@ -53,10 +53,12 @@ func NewGetNamespacesParamsWithHTTPClient(client *http.Client) *GetNamespacesPar } } -/* GetNamespacesParams contains all the parameters to send to the API endpoint - for the get namespaces operation. +/* +GetNamespacesParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get namespaces operation. + + Typically these are written to a http.Request. */ type GetNamespacesParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespaces_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespaces_responses.go index d30f58849d..82d5ea5922 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespaces_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_namespaces_responses.go @@ -46,7 +46,8 @@ func NewGetNamespacesOK() *GetNamespacesOK { return &GetNamespacesOK{} } -/* GetNamespacesOK describes a response with status code 200, with default header values. +/* +GetNamespacesOK describes a response with status code 200, with default header values. A paginated list of namespaces */ @@ -80,7 +81,8 @@ func NewGetNamespacesDefault(code int) *GetNamespacesDefault { } } -/* GetNamespacesDefault describes a response with status code -1, with default header values. +/* +GetNamespacesDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_kernels_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_kernels_parameters.go index 4b8b11fd12..a9ddb92fc9 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_kernels_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_kernels_parameters.go @@ -53,10 +53,12 @@ func NewGetOperatingSystemKernelsParamsWithHTTPClient(client *http.Client) *GetO } } -/* GetOperatingSystemKernelsParams contains all the parameters to send to the API endpoint - for the get operating system kernels operation. +/* +GetOperatingSystemKernelsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get operating system kernels operation. + + Typically these are written to a http.Request. */ type GetOperatingSystemKernelsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_kernels_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_kernels_responses.go index 1c3326dbd7..648859637a 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_kernels_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_kernels_responses.go @@ -46,7 +46,8 @@ func NewGetOperatingSystemKernelsOK() *GetOperatingSystemKernelsOK { return &GetOperatingSystemKernelsOK{} } -/* GetOperatingSystemKernelsOK describes a response with status code 200, with default header values. +/* +GetOperatingSystemKernelsOK describes a response with status code 200, with default header values. A paginated list of kernels */ @@ -80,7 +81,8 @@ func NewGetOperatingSystemKernelsDefault(code int) *GetOperatingSystemKernelsDef } } -/* GetOperatingSystemKernelsDefault describes a response with status code -1, with default header values. +/* +GetOperatingSystemKernelsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_libcs_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_libcs_parameters.go index e3e61364de..d2cbde09fc 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_libcs_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_libcs_parameters.go @@ -53,10 +53,12 @@ func NewGetOperatingSystemLibcsParamsWithHTTPClient(client *http.Client) *GetOpe } } -/* GetOperatingSystemLibcsParams contains all the parameters to send to the API endpoint - for the get operating system libcs operation. +/* +GetOperatingSystemLibcsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get operating system libcs operation. + + Typically these are written to a http.Request. */ type GetOperatingSystemLibcsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_libcs_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_libcs_responses.go index 56b0b66ec1..dbb6e0d11c 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_libcs_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_libcs_responses.go @@ -46,7 +46,8 @@ func NewGetOperatingSystemLibcsOK() *GetOperatingSystemLibcsOK { return &GetOperatingSystemLibcsOK{} } -/* GetOperatingSystemLibcsOK describes a response with status code 200, with default header values. +/* +GetOperatingSystemLibcsOK describes a response with status code 200, with default header values. A paginated list of libcs */ @@ -80,7 +81,8 @@ func NewGetOperatingSystemLibcsDefault(code int) *GetOperatingSystemLibcsDefault } } -/* GetOperatingSystemLibcsDefault describes a response with status code -1, with default header values. +/* +GetOperatingSystemLibcsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_parameters.go index a2f03af3ca..aa0ed91967 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_parameters.go @@ -52,10 +52,12 @@ func NewGetOperatingSystemParamsWithHTTPClient(client *http.Client) *GetOperatin } } -/* GetOperatingSystemParams contains all the parameters to send to the API endpoint - for the get operating system operation. +/* +GetOperatingSystemParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get operating system operation. + + Typically these are written to a http.Request. */ type GetOperatingSystemParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_responses.go index 06e8175b05..e5648128ed 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_responses.go @@ -46,7 +46,8 @@ func NewGetOperatingSystemOK() *GetOperatingSystemOK { return &GetOperatingSystemOK{} } -/* GetOperatingSystemOK describes a response with status code 200, with default header values. +/* +GetOperatingSystemOK describes a response with status code 200, with default header values. The retrieved operating system */ @@ -80,7 +81,8 @@ func NewGetOperatingSystemDefault(code int) *GetOperatingSystemDefault { } } -/* GetOperatingSystemDefault describes a response with status code -1, with default header values. +/* +GetOperatingSystemDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_version_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_version_parameters.go index 7039f4519f..43c2b2a8e4 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_version_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_version_parameters.go @@ -53,10 +53,12 @@ func NewGetOperatingSystemVersionParamsWithHTTPClient(client *http.Client) *GetO } } -/* GetOperatingSystemVersionParams contains all the parameters to send to the API endpoint - for the get operating system version operation. +/* +GetOperatingSystemVersionParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get operating system version operation. + + Typically these are written to a http.Request. */ type GetOperatingSystemVersionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_version_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_version_responses.go index 8508a616d5..7c7940b126 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_version_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_version_responses.go @@ -46,7 +46,8 @@ func NewGetOperatingSystemVersionOK() *GetOperatingSystemVersionOK { return &GetOperatingSystemVersionOK{} } -/* GetOperatingSystemVersionOK describes a response with status code 200, with default header values. +/* +GetOperatingSystemVersionOK describes a response with status code 200, with default header values. The retrieved operating system version */ @@ -80,7 +81,8 @@ func NewGetOperatingSystemVersionDefault(code int) *GetOperatingSystemVersionDef } } -/* GetOperatingSystemVersionDefault describes a response with status code -1, with default header values. +/* +GetOperatingSystemVersionDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_versions_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_versions_parameters.go index 2f611d6234..ea00032562 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_versions_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_versions_parameters.go @@ -53,10 +53,12 @@ func NewGetOperatingSystemVersionsParamsWithHTTPClient(client *http.Client) *Get } } -/* GetOperatingSystemVersionsParams contains all the parameters to send to the API endpoint - for the get operating system versions operation. +/* +GetOperatingSystemVersionsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get operating system versions operation. + + Typically these are written to a http.Request. */ type GetOperatingSystemVersionsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_versions_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_versions_responses.go index 2bbe668ea2..9762690e61 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_versions_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_system_versions_responses.go @@ -46,7 +46,8 @@ func NewGetOperatingSystemVersionsOK() *GetOperatingSystemVersionsOK { return &GetOperatingSystemVersionsOK{} } -/* GetOperatingSystemVersionsOK describes a response with status code 200, with default header values. +/* +GetOperatingSystemVersionsOK describes a response with status code 200, with default header values. A paginated list of operating system versions */ @@ -80,7 +81,8 @@ func NewGetOperatingSystemVersionsDefault(code int) *GetOperatingSystemVersionsD } } -/* GetOperatingSystemVersionsDefault describes a response with status code -1, with default header values. +/* +GetOperatingSystemVersionsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_systems_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_systems_parameters.go index 1f5e9e475d..51e56f395e 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_systems_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_systems_parameters.go @@ -53,10 +53,12 @@ func NewGetOperatingSystemsParamsWithHTTPClient(client *http.Client) *GetOperati } } -/* GetOperatingSystemsParams contains all the parameters to send to the API endpoint - for the get operating systems operation. +/* +GetOperatingSystemsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get operating systems operation. + + Typically these are written to a http.Request. */ type GetOperatingSystemsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_systems_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_systems_responses.go index 3d69493a95..3d39ad4d49 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_systems_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_operating_systems_responses.go @@ -46,7 +46,8 @@ func NewGetOperatingSystemsOK() *GetOperatingSystemsOK { return &GetOperatingSystemsOK{} } -/* GetOperatingSystemsOK describes a response with status code 200, with default header values. +/* +GetOperatingSystemsOK describes a response with status code 200, with default header values. A paginated list of operating systems */ @@ -80,7 +81,8 @@ func NewGetOperatingSystemsDefault(code int) *GetOperatingSystemsDefault { } } -/* GetOperatingSystemsDefault describes a response with status code -1, with default header values. +/* +GetOperatingSystemsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_patch_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_patch_parameters.go index ee05fe1e8e..83891f9858 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_patch_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_patch_parameters.go @@ -52,10 +52,12 @@ func NewGetPatchParamsWithHTTPClient(client *http.Client) *GetPatchParams { } } -/* GetPatchParams contains all the parameters to send to the API endpoint - for the get patch operation. +/* +GetPatchParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get patch operation. + + Typically these are written to a http.Request. */ type GetPatchParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_patch_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_patch_responses.go index 421703a10c..457ca91429 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_patch_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_patch_responses.go @@ -46,7 +46,8 @@ func NewGetPatchOK() *GetPatchOK { return &GetPatchOK{} } -/* GetPatchOK describes a response with status code 200, with default header values. +/* +GetPatchOK describes a response with status code 200, with default header values. The retrieved patch */ @@ -80,7 +81,8 @@ func NewGetPatchDefault(code int) *GetPatchDefault { } } -/* GetPatchDefault describes a response with status code -1, with default header values. +/* +GetPatchDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_patches_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_patches_parameters.go index 57eb8487b3..b9a15695b0 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_patches_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_patches_parameters.go @@ -53,10 +53,12 @@ func NewGetPatchesParamsWithHTTPClient(client *http.Client) *GetPatchesParams { } } -/* GetPatchesParams contains all the parameters to send to the API endpoint - for the get patches operation. +/* +GetPatchesParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get patches operation. + + Typically these are written to a http.Request. */ type GetPatchesParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_patches_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_patches_responses.go index 38702ce99e..552c0bb937 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_patches_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_patches_responses.go @@ -46,7 +46,8 @@ func NewGetPatchesOK() *GetPatchesOK { return &GetPatchesOK{} } -/* GetPatchesOK describes a response with status code 200, with default header values. +/* +GetPatchesOK describes a response with status code 200, with default header values. A paginated list of patches */ @@ -80,7 +81,8 @@ func NewGetPatchesDefault(code int) *GetPatchesDefault { } } -/* GetPatchesDefault describes a response with status code -1, with default header values. +/* +GetPatchesDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_platform_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_platform_parameters.go index ef839b6105..1e46c4e7bd 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_platform_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_platform_parameters.go @@ -53,10 +53,12 @@ func NewGetPlatformParamsWithHTTPClient(client *http.Client) *GetPlatformParams } } -/* GetPlatformParams contains all the parameters to send to the API endpoint - for the get platform operation. +/* +GetPlatformParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get platform operation. + + Typically these are written to a http.Request. */ type GetPlatformParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_platform_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_platform_responses.go index 4f58c5a5e0..bd6122278f 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_platform_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_platform_responses.go @@ -46,7 +46,8 @@ func NewGetPlatformOK() *GetPlatformOK { return &GetPlatformOK{} } -/* GetPlatformOK describes a response with status code 200, with default header values. +/* +GetPlatformOK describes a response with status code 200, with default header values. The retrieved platform */ @@ -80,7 +81,8 @@ func NewGetPlatformDefault(code int) *GetPlatformDefault { } } -/* GetPlatformDefault describes a response with status code -1, with default header values. +/* +GetPlatformDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_platforms_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_platforms_parameters.go index 20b3c92dd7..c8efc2018d 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_platforms_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_platforms_parameters.go @@ -53,10 +53,12 @@ func NewGetPlatformsParamsWithHTTPClient(client *http.Client) *GetPlatformsParam } } -/* GetPlatformsParams contains all the parameters to send to the API endpoint - for the get platforms operation. +/* +GetPlatformsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get platforms operation. + + Typically these are written to a http.Request. */ type GetPlatformsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_platforms_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_platforms_responses.go index b7e833b4ec..b0136b3593 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_platforms_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_platforms_responses.go @@ -46,7 +46,8 @@ func NewGetPlatformsOK() *GetPlatformsOK { return &GetPlatformsOK{} } -/* GetPlatformsOK describes a response with status code 200, with default header values. +/* +GetPlatformsOK describes a response with status code 200, with default header values. A paginated list of platforms */ @@ -80,7 +81,8 @@ func NewGetPlatformsDefault(code int) *GetPlatformsDefault { } } -/* GetPlatformsDefault describes a response with status code -1, with default header values. +/* +GetPlatformsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_solution_recipe_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_solution_recipe_parameters.go index fe9a3d8438..cf61299e8b 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_solution_recipe_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_solution_recipe_parameters.go @@ -52,10 +52,12 @@ func NewGetSolutionRecipeParamsWithHTTPClient(client *http.Client) *GetSolutionR } } -/* GetSolutionRecipeParams contains all the parameters to send to the API endpoint - for the get solution recipe operation. +/* +GetSolutionRecipeParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get solution recipe operation. + + Typically these are written to a http.Request. */ type GetSolutionRecipeParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_solution_recipe_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_solution_recipe_responses.go index 06da5e1f7a..4d98e4cac2 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/get_solution_recipe_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/get_solution_recipe_responses.go @@ -54,7 +54,8 @@ func NewGetSolutionRecipeOK() *GetSolutionRecipeOK { } } -/* GetSolutionRecipeOK describes a response with status code 200, with default header values. +/* +GetSolutionRecipeOK describes a response with status code 200, with default header values. The retrieved recipe */ @@ -97,7 +98,8 @@ func NewGetSolutionRecipeDefault(code int) *GetSolutionRecipeDefault { } } -/* GetSolutionRecipeDefault describes a response with status code -1, with default header values. +/* +GetSolutionRecipeDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/health_check_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/health_check_parameters.go index 3bbe41b14d..79ff91ddcc 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/health_check_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/health_check_parameters.go @@ -52,10 +52,12 @@ func NewHealthCheckParamsWithHTTPClient(client *http.Client) *HealthCheckParams } } -/* HealthCheckParams contains all the parameters to send to the API endpoint - for the health check operation. +/* +HealthCheckParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the health check operation. + + Typically these are written to a http.Request. */ type HealthCheckParams struct { timeout time.Duration diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/health_check_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/health_check_responses.go index 07db7f9b2a..498b310cb2 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/health_check_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/health_check_responses.go @@ -46,7 +46,8 @@ func NewHealthCheckOK() *HealthCheckOK { return &HealthCheckOK{} } -/* HealthCheckOK describes a response with status code 200, with default header values. +/* +HealthCheckOK describes a response with status code 200, with default header values. Indicates whether the server is healthy */ @@ -78,7 +79,8 @@ func NewHealthCheckDefault(code int) *HealthCheckDefault { } } -/* HealthCheckDefault describes a response with status code -1, with default header values. +/* +HealthCheckDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/inventory_operations_client.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/inventory_operations_client.go index 5d679aa09f..3a5b5d7498 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/inventory_operations_client.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/inventory_operations_client.go @@ -244,7 +244,7 @@ type ClientService interface { } /* - AddAuthor Add a new author +AddAuthor Add a new author */ func (a *Client) AddAuthor(params *AddAuthorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddAuthorCreated, error) { // TODO: Validate the params before sending @@ -282,7 +282,7 @@ func (a *Client) AddAuthor(params *AddAuthorParams, authInfo runtime.ClientAuthI } /* - AddBuildFlag Add a new build flag +AddBuildFlag Add a new build flag */ func (a *Client) AddBuildFlag(params *AddBuildFlagParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddBuildFlagCreated, error) { // TODO: Validate the params before sending @@ -320,7 +320,7 @@ func (a *Client) AddBuildFlag(params *AddBuildFlagParams, authInfo runtime.Clien } /* - AddBuildFlagRevision Add a new revision of this build flag +AddBuildFlagRevision Add a new revision of this build flag */ func (a *Client) AddBuildFlagRevision(params *AddBuildFlagRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddBuildFlagRevisionOK, error) { // TODO: Validate the params before sending @@ -358,7 +358,7 @@ func (a *Client) AddBuildFlagRevision(params *AddBuildFlagRevisionParams, authIn } /* - AddBuildScript Add a new build script +AddBuildScript Add a new build script */ func (a *Client) AddBuildScript(params *AddBuildScriptParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddBuildScriptCreated, error) { // TODO: Validate the params before sending @@ -396,7 +396,7 @@ func (a *Client) AddBuildScript(params *AddBuildScriptParams, authInfo runtime.C } /* - AddCPUArchitecture Add a new CPU architecture +AddCPUArchitecture Add a new CPU architecture */ func (a *Client) AddCPUArchitecture(params *AddCPUArchitectureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddCPUArchitectureCreated, error) { // TODO: Validate the params before sending @@ -434,7 +434,7 @@ func (a *Client) AddCPUArchitecture(params *AddCPUArchitectureParams, authInfo r } /* - AddCPUArchitectureCPUExtension Add a CPU extension that can be used with this architecture +AddCPUArchitectureCPUExtension Add a CPU extension that can be used with this architecture */ func (a *Client) AddCPUArchitectureCPUExtension(params *AddCPUArchitectureCPUExtensionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddCPUArchitectureCPUExtensionOK, error) { // TODO: Validate the params before sending @@ -472,7 +472,7 @@ func (a *Client) AddCPUArchitectureCPUExtension(params *AddCPUArchitectureCPUExt } /* - AddCPUArchitectureRevision Add a new revision of this CPU architecture +AddCPUArchitectureRevision Add a new revision of this CPU architecture */ func (a *Client) AddCPUArchitectureRevision(params *AddCPUArchitectureRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddCPUArchitectureRevisionOK, error) { // TODO: Validate the params before sending @@ -510,7 +510,7 @@ func (a *Client) AddCPUArchitectureRevision(params *AddCPUArchitectureRevisionPa } /* - AddCPUExtension Add a new CPU extension +AddCPUExtension Add a new CPU extension */ func (a *Client) AddCPUExtension(params *AddCPUExtensionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddCPUExtensionCreated, error) { // TODO: Validate the params before sending @@ -548,7 +548,7 @@ func (a *Client) AddCPUExtension(params *AddCPUExtensionParams, authInfo runtime } /* - AddCPUExtensionRevision Add a new revision of this CPU extension +AddCPUExtensionRevision Add a new revision of this CPU extension */ func (a *Client) AddCPUExtensionRevision(params *AddCPUExtensionRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddCPUExtensionRevisionOK, error) { // TODO: Validate the params before sending @@ -586,7 +586,7 @@ func (a *Client) AddCPUExtensionRevision(params *AddCPUExtensionRevisionParams, } /* - AddGPUArchitecture Add a new GPU architecture +AddGPUArchitecture Add a new GPU architecture */ func (a *Client) AddGPUArchitecture(params *AddGPUArchitectureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddGPUArchitectureCreated, error) { // TODO: Validate the params before sending @@ -624,7 +624,7 @@ func (a *Client) AddGPUArchitecture(params *AddGPUArchitectureParams, authInfo r } /* - AddGPUArchitectureRevision Add a new revision of this GPU architecture +AddGPUArchitectureRevision Add a new revision of this GPU architecture */ func (a *Client) AddGPUArchitectureRevision(params *AddGPUArchitectureRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddGPUArchitectureRevisionOK, error) { // TODO: Validate the params before sending @@ -662,7 +662,7 @@ func (a *Client) AddGPUArchitectureRevision(params *AddGPUArchitectureRevisionPa } /* - AddImage Add a new image +AddImage Add a new image */ func (a *Client) AddImage(params *AddImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddImageCreated, error) { // TODO: Validate the params before sending @@ -700,7 +700,7 @@ func (a *Client) AddImage(params *AddImageParams, authInfo runtime.ClientAuthInf } /* - AddImageRevision Add a new revision of this image +AddImageRevision Add a new revision of this image */ func (a *Client) AddImageRevision(params *AddImageRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddImageRevisionOK, error) { // TODO: Validate the params before sending @@ -738,7 +738,7 @@ func (a *Client) AddImageRevision(params *AddImageRevisionParams, authInfo runti } /* - AddIngredient Add a new ingredient +AddIngredient Add a new ingredient */ func (a *Client) AddIngredient(params *AddIngredientParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddIngredientCreated, error) { // TODO: Validate the params before sending @@ -776,7 +776,7 @@ func (a *Client) AddIngredient(params *AddIngredientParams, authInfo runtime.Cli } /* - AddIngredientAndVersions Add multiple new versions, and add the ingredient if it doesn't exist +AddIngredientAndVersions Add multiple new versions, and add the ingredient if it doesn't exist */ func (a *Client) AddIngredientAndVersions(params *AddIngredientAndVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddIngredientAndVersionsCreated, error) { // TODO: Validate the params before sending @@ -814,7 +814,7 @@ func (a *Client) AddIngredientAndVersions(params *AddIngredientAndVersionsParams } /* - AddIngredientOptionSet Add a new ingredient option set +AddIngredientOptionSet Add a new ingredient option set */ func (a *Client) AddIngredientOptionSet(params *AddIngredientOptionSetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddIngredientOptionSetCreated, error) { // TODO: Validate the params before sending @@ -852,7 +852,7 @@ func (a *Client) AddIngredientOptionSet(params *AddIngredientOptionSetParams, au } /* - AddIngredientOptionSetRevision Add a new revision of this ingredient option set +AddIngredientOptionSetRevision Add a new revision of this ingredient option set */ func (a *Client) AddIngredientOptionSetRevision(params *AddIngredientOptionSetRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddIngredientOptionSetRevisionOK, error) { // TODO: Validate the params before sending @@ -890,7 +890,7 @@ func (a *Client) AddIngredientOptionSetRevision(params *AddIngredientOptionSetRe } /* - AddIngredientVersion Add a new version of this ingredient +AddIngredientVersion Add a new version of this ingredient */ func (a *Client) AddIngredientVersion(params *AddIngredientVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddIngredientVersionCreated, error) { // TODO: Validate the params before sending @@ -928,7 +928,7 @@ func (a *Client) AddIngredientVersion(params *AddIngredientVersionParams, authIn } /* - AddIngredientVersionAuthor Add an author of this ingredient version +AddIngredientVersionAuthor Add an author of this ingredient version */ func (a *Client) AddIngredientVersionAuthor(params *AddIngredientVersionAuthorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddIngredientVersionAuthorOK, error) { // TODO: Validate the params before sending @@ -966,7 +966,7 @@ func (a *Client) AddIngredientVersionAuthor(params *AddIngredientVersionAuthorPa } /* - AddIngredientVersionRevision Add a new revision of this ingredient version +AddIngredientVersionRevision Add a new revision of this ingredient version */ func (a *Client) AddIngredientVersionRevision(params *AddIngredientVersionRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddIngredientVersionRevisionOK, error) { // TODO: Validate the params before sending @@ -1004,7 +1004,7 @@ func (a *Client) AddIngredientVersionRevision(params *AddIngredientVersionRevisi } /* - AddKernel Add a new kernel +AddKernel Add a new kernel */ func (a *Client) AddKernel(params *AddKernelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddKernelCreated, error) { // TODO: Validate the params before sending @@ -1042,7 +1042,7 @@ func (a *Client) AddKernel(params *AddKernelParams, authInfo runtime.ClientAuthI } /* - AddKernelCPUArchitecture Add a CPU architecture that can be used with this kernel +AddKernelCPUArchitecture Add a CPU architecture that can be used with this kernel */ func (a *Client) AddKernelCPUArchitecture(params *AddKernelCPUArchitectureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddKernelCPUArchitectureOK, error) { // TODO: Validate the params before sending @@ -1080,7 +1080,7 @@ func (a *Client) AddKernelCPUArchitecture(params *AddKernelCPUArchitectureParams } /* - AddKernelGPUArchitecture Add a GPU architecture that can be used with this kernel +AddKernelGPUArchitecture Add a GPU architecture that can be used with this kernel */ func (a *Client) AddKernelGPUArchitecture(params *AddKernelGPUArchitectureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddKernelGPUArchitectureOK, error) { // TODO: Validate the params before sending @@ -1118,7 +1118,7 @@ func (a *Client) AddKernelGPUArchitecture(params *AddKernelGPUArchitectureParams } /* - AddKernelVersion Add a new version for this kernel +AddKernelVersion Add a new version for this kernel */ func (a *Client) AddKernelVersion(params *AddKernelVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddKernelVersionCreated, error) { // TODO: Validate the params before sending @@ -1156,7 +1156,7 @@ func (a *Client) AddKernelVersion(params *AddKernelVersionParams, authInfo runti } /* - AddKernelVersionRevision Add a new revision of this kernel version +AddKernelVersionRevision Add a new revision of this kernel version */ func (a *Client) AddKernelVersionRevision(params *AddKernelVersionRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddKernelVersionRevisionOK, error) { // TODO: Validate the params before sending @@ -1194,7 +1194,7 @@ func (a *Client) AddKernelVersionRevision(params *AddKernelVersionRevisionParams } /* - AddLibc Add a new libc +AddLibc Add a new libc */ func (a *Client) AddLibc(params *AddLibcParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddLibcCreated, error) { // TODO: Validate the params before sending @@ -1232,7 +1232,7 @@ func (a *Client) AddLibc(params *AddLibcParams, authInfo runtime.ClientAuthInfoW } /* - AddLibcVersion Add a new version for this libc +AddLibcVersion Add a new version for this libc */ func (a *Client) AddLibcVersion(params *AddLibcVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddLibcVersionCreated, error) { // TODO: Validate the params before sending @@ -1270,7 +1270,7 @@ func (a *Client) AddLibcVersion(params *AddLibcVersionParams, authInfo runtime.C } /* - AddLibcVersionRevision Add a new revision of this libc version +AddLibcVersionRevision Add a new revision of this libc version */ func (a *Client) AddLibcVersionRevision(params *AddLibcVersionRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddLibcVersionRevisionOK, error) { // TODO: Validate the params before sending @@ -1308,7 +1308,7 @@ func (a *Client) AddLibcVersionRevision(params *AddLibcVersionRevisionParams, au } /* - AddNamespace Add a new namespace +AddNamespace Add a new namespace */ func (a *Client) AddNamespace(params *AddNamespaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddNamespaceCreated, error) { // TODO: Validate the params before sending @@ -1346,7 +1346,7 @@ func (a *Client) AddNamespace(params *AddNamespaceParams, authInfo runtime.Clien } /* - AddOperatingSystem Add a new operating system +AddOperatingSystem Add a new operating system */ func (a *Client) AddOperatingSystem(params *AddOperatingSystemParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddOperatingSystemCreated, error) { // TODO: Validate the params before sending @@ -1384,7 +1384,7 @@ func (a *Client) AddOperatingSystem(params *AddOperatingSystemParams, authInfo r } /* - AddOperatingSystemKernel Add a kernel that can be used with this operating system +AddOperatingSystemKernel Add a kernel that can be used with this operating system */ func (a *Client) AddOperatingSystemKernel(params *AddOperatingSystemKernelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddOperatingSystemKernelOK, error) { // TODO: Validate the params before sending @@ -1422,7 +1422,7 @@ func (a *Client) AddOperatingSystemKernel(params *AddOperatingSystemKernelParams } /* - AddOperatingSystemLibc Add a libc that can be used with this operating system +AddOperatingSystemLibc Add a libc that can be used with this operating system */ func (a *Client) AddOperatingSystemLibc(params *AddOperatingSystemLibcParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddOperatingSystemLibcOK, error) { // TODO: Validate the params before sending @@ -1460,7 +1460,7 @@ func (a *Client) AddOperatingSystemLibc(params *AddOperatingSystemLibcParams, au } /* - AddOperatingSystemVersion Add a new version for this operating system +AddOperatingSystemVersion Add a new version for this operating system */ func (a *Client) AddOperatingSystemVersion(params *AddOperatingSystemVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddOperatingSystemVersionCreated, error) { // TODO: Validate the params before sending @@ -1498,7 +1498,7 @@ func (a *Client) AddOperatingSystemVersion(params *AddOperatingSystemVersionPara } /* - AddOperatingSystemVersionRevision Add a new revision of this operating system version +AddOperatingSystemVersionRevision Add a new revision of this operating system version */ func (a *Client) AddOperatingSystemVersionRevision(params *AddOperatingSystemVersionRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddOperatingSystemVersionRevisionOK, error) { // TODO: Validate the params before sending @@ -1536,7 +1536,7 @@ func (a *Client) AddOperatingSystemVersionRevision(params *AddOperatingSystemVer } /* - AddPatch Add a new patch +AddPatch Add a new patch */ func (a *Client) AddPatch(params *AddPatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddPatchCreated, error) { // TODO: Validate the params before sending @@ -1574,7 +1574,7 @@ func (a *Client) AddPatch(params *AddPatchParams, authInfo runtime.ClientAuthInf } /* - AddPlatform Add a new platform +AddPlatform Add a new platform */ func (a *Client) AddPlatform(params *AddPlatformParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddPlatformCreated, error) { // TODO: Validate the params before sending @@ -1612,7 +1612,7 @@ func (a *Client) AddPlatform(params *AddPlatformParams, authInfo runtime.ClientA } /* - DeleteImage Delete this image +DeleteImage Delete this image */ func (a *Client) DeleteImage(params *DeleteImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteImageNoContent, error) { // TODO: Validate the params before sending @@ -1650,7 +1650,7 @@ func (a *Client) DeleteImage(params *DeleteImageParams, authInfo runtime.ClientA } /* - DeleteIngredientVersion Delete this ingredient version +DeleteIngredientVersion Delete this ingredient version */ func (a *Client) DeleteIngredientVersion(params *DeleteIngredientVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteIngredientVersionNoContent, error) { // TODO: Validate the params before sending @@ -1688,7 +1688,7 @@ func (a *Client) DeleteIngredientVersion(params *DeleteIngredientVersionParams, } /* - GetAuthor Retrieve an author +GetAuthor Retrieve an author */ func (a *Client) GetAuthor(params *GetAuthorParams, opts ...ClientOption) (*GetAuthorOK, error) { // TODO: Validate the params before sending @@ -1725,7 +1725,7 @@ func (a *Client) GetAuthor(params *GetAuthorParams, opts ...ClientOption) (*GetA } /* - GetAuthors Retrieve a paged set of authors +GetAuthors Retrieve a paged set of authors */ func (a *Client) GetAuthors(params *GetAuthorsParams, opts ...ClientOption) (*GetAuthorsOK, error) { // TODO: Validate the params before sending @@ -1762,7 +1762,7 @@ func (a *Client) GetAuthors(params *GetAuthorsParams, opts ...ClientOption) (*Ge } /* - GetBuildFlag Retrieve a build flag +GetBuildFlag Retrieve a build flag */ func (a *Client) GetBuildFlag(params *GetBuildFlagParams, opts ...ClientOption) (*GetBuildFlagOK, error) { // TODO: Validate the params before sending @@ -1799,7 +1799,7 @@ func (a *Client) GetBuildFlag(params *GetBuildFlagParams, opts ...ClientOption) } /* - GetBuildFlags Retrieve a paged set of build flags +GetBuildFlags Retrieve a paged set of build flags */ func (a *Client) GetBuildFlags(params *GetBuildFlagsParams, opts ...ClientOption) (*GetBuildFlagsOK, error) { // TODO: Validate the params before sending @@ -1836,7 +1836,7 @@ func (a *Client) GetBuildFlags(params *GetBuildFlagsParams, opts ...ClientOption } /* - GetBuildScript Retrieve a single build script +GetBuildScript Retrieve a single build script */ func (a *Client) GetBuildScript(params *GetBuildScriptParams, opts ...ClientOption) (*GetBuildScriptOK, error) { // TODO: Validate the params before sending @@ -1873,7 +1873,7 @@ func (a *Client) GetBuildScript(params *GetBuildScriptParams, opts ...ClientOpti } /* - GetBuildScripts Retrieve all build scripts +GetBuildScripts Retrieve all build scripts */ func (a *Client) GetBuildScripts(params *GetBuildScriptsParams, opts ...ClientOption) (*GetBuildScriptsOK, error) { // TODO: Validate the params before sending @@ -1910,7 +1910,7 @@ func (a *Client) GetBuildScripts(params *GetBuildScriptsParams, opts ...ClientOp } /* - GetCPUArchitecture Retrieve a single CPU architecture +GetCPUArchitecture Retrieve a single CPU architecture */ func (a *Client) GetCPUArchitecture(params *GetCPUArchitectureParams, opts ...ClientOption) (*GetCPUArchitectureOK, error) { // TODO: Validate the params before sending @@ -1947,7 +1947,7 @@ func (a *Client) GetCPUArchitecture(params *GetCPUArchitectureParams, opts ...Cl } /* - GetCPUArchitectureCPUExtensions Retrieve all CPU extensions that can be used with this architecture +GetCPUArchitectureCPUExtensions Retrieve all CPU extensions that can be used with this architecture */ func (a *Client) GetCPUArchitectureCPUExtensions(params *GetCPUArchitectureCPUExtensionsParams, opts ...ClientOption) (*GetCPUArchitectureCPUExtensionsOK, error) { // TODO: Validate the params before sending @@ -1984,7 +1984,7 @@ func (a *Client) GetCPUArchitectureCPUExtensions(params *GetCPUArchitectureCPUEx } /* - GetCPUArchitectures Retrieve all CPU architectures +GetCPUArchitectures Retrieve all CPU architectures */ func (a *Client) GetCPUArchitectures(params *GetCPUArchitecturesParams, opts ...ClientOption) (*GetCPUArchitecturesOK, error) { // TODO: Validate the params before sending @@ -2021,7 +2021,7 @@ func (a *Client) GetCPUArchitectures(params *GetCPUArchitecturesParams, opts ... } /* - GetCPUExtension Retrieve a single CPU extension +GetCPUExtension Retrieve a single CPU extension */ func (a *Client) GetCPUExtension(params *GetCPUExtensionParams, opts ...ClientOption) (*GetCPUExtensionOK, error) { // TODO: Validate the params before sending @@ -2058,7 +2058,7 @@ func (a *Client) GetCPUExtension(params *GetCPUExtensionParams, opts ...ClientOp } /* - GetCPUExtensions Retrieve all CPU extensions +GetCPUExtensions Retrieve all CPU extensions */ func (a *Client) GetCPUExtensions(params *GetCPUExtensionsParams, opts ...ClientOption) (*GetCPUExtensionsOK, error) { // TODO: Validate the params before sending @@ -2095,7 +2095,7 @@ func (a *Client) GetCPUExtensions(params *GetCPUExtensionsParams, opts ...Client } /* - GetGPUArchitecture Retrieve a single GPU architecture +GetGPUArchitecture Retrieve a single GPU architecture */ func (a *Client) GetGPUArchitecture(params *GetGPUArchitectureParams, opts ...ClientOption) (*GetGPUArchitectureOK, error) { // TODO: Validate the params before sending @@ -2132,7 +2132,7 @@ func (a *Client) GetGPUArchitecture(params *GetGPUArchitectureParams, opts ...Cl } /* - GetGPUArchitectures Retrieve all GPU architectures +GetGPUArchitectures Retrieve all GPU architectures */ func (a *Client) GetGPUArchitectures(params *GetGPUArchitecturesParams, opts ...ClientOption) (*GetGPUArchitecturesOK, error) { // TODO: Validate the params before sending @@ -2169,7 +2169,7 @@ func (a *Client) GetGPUArchitectures(params *GetGPUArchitecturesParams, opts ... } /* - GetImage Retrieve an image +GetImage Retrieve an image */ func (a *Client) GetImage(params *GetImageParams, opts ...ClientOption) (*GetImageOK, error) { // TODO: Validate the params before sending @@ -2206,7 +2206,7 @@ func (a *Client) GetImage(params *GetImageParams, opts ...ClientOption) (*GetIma } /* - GetImages Retrieve a paged set of images +GetImages Retrieve a paged set of images */ func (a *Client) GetImages(params *GetImagesParams, opts ...ClientOption) (*GetImagesOK, error) { // TODO: Validate the params before sending @@ -2243,7 +2243,7 @@ func (a *Client) GetImages(params *GetImagesParams, opts ...ClientOption) (*GetI } /* - GetIngredient Retrieve a single ingredient +GetIngredient Retrieve a single ingredient */ func (a *Client) GetIngredient(params *GetIngredientParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientOK, error) { // TODO: Validate the params before sending @@ -2281,7 +2281,7 @@ func (a *Client) GetIngredient(params *GetIngredientParams, authInfo runtime.Cli } /* - GetIngredientOptionSet Retrieve a single ingredient option set +GetIngredientOptionSet Retrieve a single ingredient option set */ func (a *Client) GetIngredientOptionSet(params *GetIngredientOptionSetParams, opts ...ClientOption) (*GetIngredientOptionSetOK, error) { // TODO: Validate the params before sending @@ -2318,7 +2318,7 @@ func (a *Client) GetIngredientOptionSet(params *GetIngredientOptionSetParams, op } /* - GetIngredientOptionSetIngredientVersions Retrieve all ingredient versions which use this ingredient option set +GetIngredientOptionSetIngredientVersions Retrieve all ingredient versions which use this ingredient option set */ func (a *Client) GetIngredientOptionSetIngredientVersions(params *GetIngredientOptionSetIngredientVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientOptionSetIngredientVersionsOK, error) { // TODO: Validate the params before sending @@ -2356,7 +2356,7 @@ func (a *Client) GetIngredientOptionSetIngredientVersions(params *GetIngredientO } /* - GetIngredientOptionSets Iterate over all matching ingredient option sets +GetIngredientOptionSets Iterate over all matching ingredient option sets */ func (a *Client) GetIngredientOptionSets(params *GetIngredientOptionSetsParams, opts ...ClientOption) (*GetIngredientOptionSetsOK, error) { // TODO: Validate the params before sending @@ -2393,7 +2393,7 @@ func (a *Client) GetIngredientOptionSets(params *GetIngredientOptionSetsParams, } /* - GetIngredientVersion Retrieve a single ingredient version +GetIngredientVersion Retrieve a single ingredient version */ func (a *Client) GetIngredientVersion(params *GetIngredientVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientVersionOK, error) { // TODO: Validate the params before sending @@ -2431,7 +2431,7 @@ func (a *Client) GetIngredientVersion(params *GetIngredientVersionParams, authIn } /* - GetIngredientVersionAuthors Retrieve all authors of this ingredient version +GetIngredientVersionAuthors Retrieve all authors of this ingredient version */ func (a *Client) GetIngredientVersionAuthors(params *GetIngredientVersionAuthorsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientVersionAuthorsOK, error) { // TODO: Validate the params before sending @@ -2469,7 +2469,7 @@ func (a *Client) GetIngredientVersionAuthors(params *GetIngredientVersionAuthors } /* - GetIngredientVersionBuildScripts Retrieve all build scripts used by the ingredient version revision +GetIngredientVersionBuildScripts Retrieve all build scripts used by the ingredient version revision */ func (a *Client) GetIngredientVersionBuildScripts(params *GetIngredientVersionBuildScriptsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientVersionBuildScriptsOK, error) { // TODO: Validate the params before sending @@ -2507,7 +2507,7 @@ func (a *Client) GetIngredientVersionBuildScripts(params *GetIngredientVersionBu } /* - GetIngredientVersionIngredientOptionSets Retrieve all ingredient option sets used by the ingredient version +GetIngredientVersionIngredientOptionSets Retrieve all ingredient option sets used by the ingredient version */ func (a *Client) GetIngredientVersionIngredientOptionSets(params *GetIngredientVersionIngredientOptionSetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientVersionIngredientOptionSetsOK, error) { // TODO: Validate the params before sending @@ -2545,7 +2545,7 @@ func (a *Client) GetIngredientVersionIngredientOptionSets(params *GetIngredientV } /* - GetIngredientVersionPatches Retrieve all patches used by the ingredient version revision +GetIngredientVersionPatches Retrieve all patches used by the ingredient version revision */ func (a *Client) GetIngredientVersionPatches(params *GetIngredientVersionPatchesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientVersionPatchesOK, error) { // TODO: Validate the params before sending @@ -2583,7 +2583,7 @@ func (a *Client) GetIngredientVersionPatches(params *GetIngredientVersionPatches } /* - GetIngredientVersionRevision Retrieve a single ingredient version revision +GetIngredientVersionRevision Retrieve a single ingredient version revision */ func (a *Client) GetIngredientVersionRevision(params *GetIngredientVersionRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientVersionRevisionOK, error) { // TODO: Validate the params before sending @@ -2621,7 +2621,7 @@ func (a *Client) GetIngredientVersionRevision(params *GetIngredientVersionRevisi } /* - GetIngredientVersionRevisions Retrieve all ingredient version revisions for an ingredient version +GetIngredientVersionRevisions Retrieve all ingredient version revisions for an ingredient version */ func (a *Client) GetIngredientVersionRevisions(params *GetIngredientVersionRevisionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientVersionRevisionsOK, error) { // TODO: Validate the params before sending @@ -2659,7 +2659,7 @@ func (a *Client) GetIngredientVersionRevisions(params *GetIngredientVersionRevis } /* - GetIngredientVersions Retrieve all versions of this ingredient +GetIngredientVersions Retrieve all versions of this ingredient */ func (a *Client) GetIngredientVersions(params *GetIngredientVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientVersionsOK, error) { // TODO: Validate the params before sending @@ -2697,7 +2697,7 @@ func (a *Client) GetIngredientVersions(params *GetIngredientVersionsParams, auth } /* - GetIngredients Retrieve all ingredients +GetIngredients Retrieve all ingredients */ func (a *Client) GetIngredients(params *GetIngredientsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIngredientsOK, error) { // TODO: Validate the params before sending @@ -2735,7 +2735,7 @@ func (a *Client) GetIngredients(params *GetIngredientsParams, authInfo runtime.C } /* - GetKernel Retrieve a single kernel +GetKernel Retrieve a single kernel */ func (a *Client) GetKernel(params *GetKernelParams, opts ...ClientOption) (*GetKernelOK, error) { // TODO: Validate the params before sending @@ -2772,7 +2772,7 @@ func (a *Client) GetKernel(params *GetKernelParams, opts ...ClientOption) (*GetK } /* - GetKernelCPUArchitectures Retrieve all CPU architectures that can be used with this kernel +GetKernelCPUArchitectures Retrieve all CPU architectures that can be used with this kernel */ func (a *Client) GetKernelCPUArchitectures(params *GetKernelCPUArchitecturesParams, opts ...ClientOption) (*GetKernelCPUArchitecturesOK, error) { // TODO: Validate the params before sending @@ -2809,7 +2809,7 @@ func (a *Client) GetKernelCPUArchitectures(params *GetKernelCPUArchitecturesPara } /* - GetKernelGPUArchitectures Retrieve all GPU architectures that can be used with this kernel +GetKernelGPUArchitectures Retrieve all GPU architectures that can be used with this kernel */ func (a *Client) GetKernelGPUArchitectures(params *GetKernelGPUArchitecturesParams, opts ...ClientOption) (*GetKernelGPUArchitecturesOK, error) { // TODO: Validate the params before sending @@ -2846,7 +2846,7 @@ func (a *Client) GetKernelGPUArchitectures(params *GetKernelGPUArchitecturesPara } /* - GetKernelVersion Retrieve a single kernel version +GetKernelVersion Retrieve a single kernel version */ func (a *Client) GetKernelVersion(params *GetKernelVersionParams, opts ...ClientOption) (*GetKernelVersionOK, error) { // TODO: Validate the params before sending @@ -2883,7 +2883,7 @@ func (a *Client) GetKernelVersion(params *GetKernelVersionParams, opts ...Client } /* - GetKernelVersions Retrieve all versions of this kernel +GetKernelVersions Retrieve all versions of this kernel */ func (a *Client) GetKernelVersions(params *GetKernelVersionsParams, opts ...ClientOption) (*GetKernelVersionsOK, error) { // TODO: Validate the params before sending @@ -2920,7 +2920,7 @@ func (a *Client) GetKernelVersions(params *GetKernelVersionsParams, opts ...Clie } /* - GetKernels Retrieve all kernels +GetKernels Retrieve all kernels */ func (a *Client) GetKernels(params *GetKernelsParams, opts ...ClientOption) (*GetKernelsOK, error) { // TODO: Validate the params before sending @@ -2957,7 +2957,7 @@ func (a *Client) GetKernels(params *GetKernelsParams, opts ...ClientOption) (*Ge } /* - GetLatestTimestamp Retrieve the latest timestamp to use for solve requests +GetLatestTimestamp Retrieve the latest timestamp to use for solve requests */ func (a *Client) GetLatestTimestamp(params *GetLatestTimestampParams, opts ...ClientOption) (*GetLatestTimestampOK, error) { // TODO: Validate the params before sending @@ -2994,7 +2994,7 @@ func (a *Client) GetLatestTimestamp(params *GetLatestTimestampParams, opts ...Cl } /* - GetLibc Retrieve a single libc +GetLibc Retrieve a single libc */ func (a *Client) GetLibc(params *GetLibcParams, opts ...ClientOption) (*GetLibcOK, error) { // TODO: Validate the params before sending @@ -3031,7 +3031,7 @@ func (a *Client) GetLibc(params *GetLibcParams, opts ...ClientOption) (*GetLibcO } /* - GetLibcVersion Retrieve a single libc version +GetLibcVersion Retrieve a single libc version */ func (a *Client) GetLibcVersion(params *GetLibcVersionParams, opts ...ClientOption) (*GetLibcVersionOK, error) { // TODO: Validate the params before sending @@ -3068,7 +3068,7 @@ func (a *Client) GetLibcVersion(params *GetLibcVersionParams, opts ...ClientOpti } /* - GetLibcVersions Retrieve all versions of this libc +GetLibcVersions Retrieve all versions of this libc */ func (a *Client) GetLibcVersions(params *GetLibcVersionsParams, opts ...ClientOption) (*GetLibcVersionsOK, error) { // TODO: Validate the params before sending @@ -3105,7 +3105,7 @@ func (a *Client) GetLibcVersions(params *GetLibcVersionsParams, opts ...ClientOp } /* - GetLibcs Retrieve all libcs +GetLibcs Retrieve all libcs */ func (a *Client) GetLibcs(params *GetLibcsParams, opts ...ClientOption) (*GetLibcsOK, error) { // TODO: Validate the params before sending @@ -3142,7 +3142,7 @@ func (a *Client) GetLibcs(params *GetLibcsParams, opts ...ClientOption) (*GetLib } /* - GetNamespaceIngredient Retrieve a single ingredient by namespace and name +GetNamespaceIngredient Retrieve a single ingredient by namespace and name */ func (a *Client) GetNamespaceIngredient(params *GetNamespaceIngredientParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNamespaceIngredientOK, error) { // TODO: Validate the params before sending @@ -3180,7 +3180,7 @@ func (a *Client) GetNamespaceIngredient(params *GetNamespaceIngredientParams, au } /* - GetNamespaceIngredientVersion Retrieve a single ingredient version by namespace, name, and version +GetNamespaceIngredientVersion Retrieve a single ingredient version by namespace, name, and version */ func (a *Client) GetNamespaceIngredientVersion(params *GetNamespaceIngredientVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNamespaceIngredientVersionOK, error) { // TODO: Validate the params before sending @@ -3218,7 +3218,7 @@ func (a *Client) GetNamespaceIngredientVersion(params *GetNamespaceIngredientVer } /* - GetNamespaceIngredientVersions Retrieve ingredient versions by namespace and ingredient name +GetNamespaceIngredientVersions Retrieve ingredient versions by namespace and ingredient name */ func (a *Client) GetNamespaceIngredientVersions(params *GetNamespaceIngredientVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNamespaceIngredientVersionsOK, error) { // TODO: Validate the params before sending @@ -3256,7 +3256,7 @@ func (a *Client) GetNamespaceIngredientVersions(params *GetNamespaceIngredientVe } /* - GetNamespaceIngredients Retrieve (or, if query string provided, search across) all ingredients and versions which provide at least one feature in this namespace +GetNamespaceIngredients Retrieve (or, if query string provided, search across) all ingredients and versions which provide at least one feature in this namespace */ func (a *Client) GetNamespaceIngredients(params *GetNamespaceIngredientsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNamespaceIngredientsOK, error) { // TODO: Validate the params before sending @@ -3294,7 +3294,7 @@ func (a *Client) GetNamespaceIngredients(params *GetNamespaceIngredientsParams, } /* - GetNamespaces Retrieve all namespaces +GetNamespaces Retrieve all namespaces */ func (a *Client) GetNamespaces(params *GetNamespacesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNamespacesOK, error) { // TODO: Validate the params before sending @@ -3332,7 +3332,7 @@ func (a *Client) GetNamespaces(params *GetNamespacesParams, authInfo runtime.Cli } /* - GetOperatingSystem Retrieve a single operating system +GetOperatingSystem Retrieve a single operating system */ func (a *Client) GetOperatingSystem(params *GetOperatingSystemParams, opts ...ClientOption) (*GetOperatingSystemOK, error) { // TODO: Validate the params before sending @@ -3369,7 +3369,7 @@ func (a *Client) GetOperatingSystem(params *GetOperatingSystemParams, opts ...Cl } /* - GetOperatingSystemKernels Retrieve all kernels that can be used with this operating system +GetOperatingSystemKernels Retrieve all kernels that can be used with this operating system */ func (a *Client) GetOperatingSystemKernels(params *GetOperatingSystemKernelsParams, opts ...ClientOption) (*GetOperatingSystemKernelsOK, error) { // TODO: Validate the params before sending @@ -3406,7 +3406,7 @@ func (a *Client) GetOperatingSystemKernels(params *GetOperatingSystemKernelsPara } /* - GetOperatingSystemLibcs Retrieve all libcs that can be used with this operating system +GetOperatingSystemLibcs Retrieve all libcs that can be used with this operating system */ func (a *Client) GetOperatingSystemLibcs(params *GetOperatingSystemLibcsParams, opts ...ClientOption) (*GetOperatingSystemLibcsOK, error) { // TODO: Validate the params before sending @@ -3443,7 +3443,7 @@ func (a *Client) GetOperatingSystemLibcs(params *GetOperatingSystemLibcsParams, } /* - GetOperatingSystemVersion Retrieve a single operating system version +GetOperatingSystemVersion Retrieve a single operating system version */ func (a *Client) GetOperatingSystemVersion(params *GetOperatingSystemVersionParams, opts ...ClientOption) (*GetOperatingSystemVersionOK, error) { // TODO: Validate the params before sending @@ -3480,7 +3480,7 @@ func (a *Client) GetOperatingSystemVersion(params *GetOperatingSystemVersionPara } /* - GetOperatingSystemVersions Retrieve all versions of this operating system +GetOperatingSystemVersions Retrieve all versions of this operating system */ func (a *Client) GetOperatingSystemVersions(params *GetOperatingSystemVersionsParams, opts ...ClientOption) (*GetOperatingSystemVersionsOK, error) { // TODO: Validate the params before sending @@ -3517,7 +3517,7 @@ func (a *Client) GetOperatingSystemVersions(params *GetOperatingSystemVersionsPa } /* - GetOperatingSystems Retrieve all operating systems +GetOperatingSystems Retrieve all operating systems */ func (a *Client) GetOperatingSystems(params *GetOperatingSystemsParams, opts ...ClientOption) (*GetOperatingSystemsOK, error) { // TODO: Validate the params before sending @@ -3554,7 +3554,7 @@ func (a *Client) GetOperatingSystems(params *GetOperatingSystemsParams, opts ... } /* - GetPatch Retrieve a single patch +GetPatch Retrieve a single patch */ func (a *Client) GetPatch(params *GetPatchParams, opts ...ClientOption) (*GetPatchOK, error) { // TODO: Validate the params before sending @@ -3591,7 +3591,7 @@ func (a *Client) GetPatch(params *GetPatchParams, opts ...ClientOption) (*GetPat } /* - GetPatches Retrieve all patches +GetPatches Retrieve all patches */ func (a *Client) GetPatches(params *GetPatchesParams, opts ...ClientOption) (*GetPatchesOK, error) { // TODO: Validate the params before sending @@ -3628,7 +3628,7 @@ func (a *Client) GetPatches(params *GetPatchesParams, opts ...ClientOption) (*Ge } /* - GetPlatform Retrieve a single platform +GetPlatform Retrieve a single platform */ func (a *Client) GetPlatform(params *GetPlatformParams, opts ...ClientOption) (*GetPlatformOK, error) { // TODO: Validate the params before sending @@ -3665,7 +3665,7 @@ func (a *Client) GetPlatform(params *GetPlatformParams, opts ...ClientOption) (* } /* - GetPlatforms Retrieve all platforms +GetPlatforms Retrieve all platforms */ func (a *Client) GetPlatforms(params *GetPlatformsParams, opts ...ClientOption) (*GetPlatformsOK, error) { // TODO: Validate the params before sending @@ -3702,7 +3702,7 @@ func (a *Client) GetPlatforms(params *GetPlatformsParams, opts ...ClientOption) } /* - GetSolutionRecipe Retrieve a recipe produced as part of a solution +GetSolutionRecipe Retrieve a recipe produced as part of a solution */ func (a *Client) GetSolutionRecipe(params *GetSolutionRecipeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSolutionRecipeOK, error) { // TODO: Validate the params before sending @@ -3740,7 +3740,7 @@ func (a *Client) GetSolutionRecipe(params *GetSolutionRecipeParams, authInfo run } /* - HealthCheck health check API +HealthCheck health check API */ func (a *Client) HealthCheck(params *HealthCheckParams, opts ...ClientOption) (*HealthCheckOK, error) { // TODO: Validate the params before sending @@ -3777,7 +3777,7 @@ func (a *Client) HealthCheck(params *HealthCheckParams, opts ...ClientOption) (* } /* - NormalizeNames Normalize a list of names according to the namespace's name normalization rules. +NormalizeNames Normalize a list of names according to the namespace's name normalization rules. */ func (a *Client) NormalizeNames(params *NormalizeNamesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NormalizeNamesOK, error) { // TODO: Validate the params before sending @@ -3815,7 +3815,7 @@ func (a *Client) NormalizeNames(params *NormalizeNamesParams, authInfo runtime.C } /* - ReadinessCheck readiness check API +ReadinessCheck readiness check API */ func (a *Client) ReadinessCheck(params *ReadinessCheckParams, opts ...ClientOption) (*ReadinessCheckOK, error) { // TODO: Validate the params before sending @@ -3852,9 +3852,9 @@ func (a *Client) ReadinessCheck(params *ReadinessCheckParams, opts ...ClientOpti } /* - ResolveRecipes recipes for an order +ResolveRecipes recipes for an order - Solve the order's requirements into concrete ingredient versions and return one or more recipes fulfilling the order +Solve the order's requirements into concrete ingredient versions and return one or more recipes fulfilling the order */ func (a *Client) ResolveRecipes(params *ResolveRecipesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResolveRecipesOK, *ResolveRecipesAccepted, error) { // TODO: Validate the params before sending @@ -3894,7 +3894,7 @@ func (a *Client) ResolveRecipes(params *ResolveRecipesParams, authInfo runtime.C } /* - SearchIngredients Search ingredients +SearchIngredients Search ingredients */ func (a *Client) SearchIngredients(params *SearchIngredientsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchIngredientsOK, error) { // TODO: Validate the params before sending @@ -3932,7 +3932,7 @@ func (a *Client) SearchIngredients(params *SearchIngredientsParams, authInfo run } /* - SolveOrder Solve an order's requirements into a solution consisting of one or more recipes that can be built +SolveOrder Solve an order's requirements into a solution consisting of one or more recipes that can be built */ func (a *Client) SolveOrder(params *SolveOrderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SolveOrderCreated, error) { // TODO: Validate the params before sending @@ -3970,7 +3970,7 @@ func (a *Client) SolveOrder(params *SolveOrderParams, authInfo runtime.ClientAut } /* - UpdateAuthor Update an author +UpdateAuthor Update an author */ func (a *Client) UpdateAuthor(params *UpdateAuthorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAuthorOK, error) { // TODO: Validate the params before sending @@ -4008,7 +4008,7 @@ func (a *Client) UpdateAuthor(params *UpdateAuthorParams, authInfo runtime.Clien } /* - UpdateBuildScript Update an existing build script (if it's not in use by any stable ingredient version revisions) +UpdateBuildScript Update an existing build script (if it's not in use by any stable ingredient version revisions) */ func (a *Client) UpdateBuildScript(params *UpdateBuildScriptParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBuildScriptOK, error) { // TODO: Validate the params before sending @@ -4046,7 +4046,7 @@ func (a *Client) UpdateBuildScript(params *UpdateBuildScriptParams, authInfo run } /* - UpdateIngredient Update this ingredient +UpdateIngredient Update this ingredient */ func (a *Client) UpdateIngredient(params *UpdateIngredientParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateIngredientOK, error) { // TODO: Validate the params before sending @@ -4084,7 +4084,7 @@ func (a *Client) UpdateIngredient(params *UpdateIngredientParams, authInfo runti } /* - UpdateIngredientVersion Update this ingredient version +UpdateIngredientVersion Update this ingredient version */ func (a *Client) UpdateIngredientVersion(params *UpdateIngredientVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateIngredientVersionOK, error) { // TODO: Validate the params before sending @@ -4122,7 +4122,7 @@ func (a *Client) UpdateIngredientVersion(params *UpdateIngredientVersionParams, } /* - UpdatePatch Update an existing patch (if it's not in use by any stable ingredient version revisions) +UpdatePatch Update an existing patch (if it's not in use by any stable ingredient version revisions) */ func (a *Client) UpdatePatch(params *UpdatePatchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePatchOK, error) { // TODO: Validate the params before sending @@ -4160,7 +4160,7 @@ func (a *Client) UpdatePatch(params *UpdatePatchParams, authInfo runtime.ClientA } /* - UpdatePlatform Update the platform end of support date +UpdatePlatform Update the platform end of support date */ func (a *Client) UpdatePlatform(params *UpdatePlatformParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePlatformOK, error) { // TODO: Validate the params before sending @@ -4198,7 +4198,7 @@ func (a *Client) UpdatePlatform(params *UpdatePlatformParams, authInfo runtime.C } /* - ValidateRecipe Given a single recipe, this endpoint tells you if the recipe is valid. If not, it returns one more errors explaining the problem(s). +ValidateRecipe Given a single recipe, this endpoint tells you if the recipe is valid. If not, it returns one more errors explaining the problem(s). */ func (a *Client) ValidateRecipe(params *ValidateRecipeParams, opts ...ClientOption) (*ValidateRecipeOK, error) { // TODO: Validate the params before sending diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/normalize_names_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/normalize_names_parameters.go index 68075dc755..15b090003a 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/normalize_names_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/normalize_names_parameters.go @@ -54,10 +54,12 @@ func NewNormalizeNamesParamsWithHTTPClient(client *http.Client) *NormalizeNamesP } } -/* NormalizeNamesParams contains all the parameters to send to the API endpoint - for the normalize names operation. +/* +NormalizeNamesParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the normalize names operation. + + Typically these are written to a http.Request. */ type NormalizeNamesParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/normalize_names_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/normalize_names_responses.go index 1556bdf157..79c110f209 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/normalize_names_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/normalize_names_responses.go @@ -46,7 +46,8 @@ func NewNormalizeNamesOK() *NormalizeNamesOK { return &NormalizeNamesOK{} } -/* NormalizeNamesOK describes a response with status code 200, with default header values. +/* +NormalizeNamesOK describes a response with status code 200, with default header values. A list of mappings from requested name to normalized name. */ @@ -80,7 +81,8 @@ func NewNormalizeNamesDefault(code int) *NormalizeNamesDefault { } } -/* NormalizeNamesDefault describes a response with status code -1, with default header values. +/* +NormalizeNamesDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/readiness_check_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/readiness_check_parameters.go index 55c0174f5e..f86a32e191 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/readiness_check_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/readiness_check_parameters.go @@ -52,10 +52,12 @@ func NewReadinessCheckParamsWithHTTPClient(client *http.Client) *ReadinessCheckP } } -/* ReadinessCheckParams contains all the parameters to send to the API endpoint - for the readiness check operation. +/* +ReadinessCheckParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the readiness check operation. + + Typically these are written to a http.Request. */ type ReadinessCheckParams struct { timeout time.Duration diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/readiness_check_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/readiness_check_responses.go index eceb2c5389..432510a238 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/readiness_check_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/readiness_check_responses.go @@ -46,7 +46,8 @@ func NewReadinessCheckOK() *ReadinessCheckOK { return &ReadinessCheckOK{} } -/* ReadinessCheckOK describes a response with status code 200, with default header values. +/* +ReadinessCheckOK describes a response with status code 200, with default header values. Indicates whether the server is ready */ @@ -78,7 +79,8 @@ func NewReadinessCheckDefault(code int) *ReadinessCheckDefault { } } -/* ReadinessCheckDefault describes a response with status code -1, with default header values. +/* +ReadinessCheckDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/resolve_recipes_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/resolve_recipes_parameters.go index 9cf87ca59b..85fc560d54 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/resolve_recipes_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/resolve_recipes_parameters.go @@ -55,10 +55,12 @@ func NewResolveRecipesParamsWithHTTPClient(client *http.Client) *ResolveRecipesP } } -/* ResolveRecipesParams contains all the parameters to send to the API endpoint - for the resolve recipes operation. +/* +ResolveRecipesParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the resolve recipes operation. + + Typically these are written to a http.Request. */ type ResolveRecipesParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/resolve_recipes_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/resolve_recipes_responses.go index 96672075a2..9e9e43ba7d 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/resolve_recipes_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/resolve_recipes_responses.go @@ -58,7 +58,8 @@ func NewResolveRecipesOK() *ResolveRecipesOK { return &ResolveRecipesOK{} } -/* ResolveRecipesOK describes a response with status code 200, with default header values. +/* +ResolveRecipesOK describes a response with status code 200, with default header values. Returns one or more recipes that fulfill the requirements of the order */ @@ -90,7 +91,8 @@ func NewResolveRecipesAccepted() *ResolveRecipesAccepted { return &ResolveRecipesAccepted{} } -/* ResolveRecipesAccepted describes a response with status code 202, with default header values. +/* +ResolveRecipesAccepted describes a response with status code 202, with default header values. If the recipe is not found in the cache when only_cached_responses is set, submits the order and returns */ @@ -122,7 +124,8 @@ func NewResolveRecipesBadRequest() *ResolveRecipesBadRequest { return &ResolveRecipesBadRequest{} } -/* ResolveRecipesBadRequest describes a response with status code 400, with default header values. +/* +ResolveRecipesBadRequest describes a response with status code 400, with default header values. If the order is invalid */ @@ -156,7 +159,8 @@ func NewResolveRecipesDefault(code int) *ResolveRecipesDefault { } } -/* ResolveRecipesDefault describes a response with status code -1, with default header values. +/* +ResolveRecipesDefault describes a response with status code -1, with default header values. If there is an error processing the order */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/search_ingredients_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/search_ingredients_parameters.go index 8024f229f7..f5ec714c64 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/search_ingredients_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/search_ingredients_parameters.go @@ -53,10 +53,12 @@ func NewSearchIngredientsParamsWithHTTPClient(client *http.Client) *SearchIngred } } -/* SearchIngredientsParams contains all the parameters to send to the API endpoint - for the search ingredients operation. +/* +SearchIngredientsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the search ingredients operation. + + Typically these are written to a http.Request. */ type SearchIngredientsParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/search_ingredients_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/search_ingredients_responses.go index cd25c3c345..4c55d245a2 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/search_ingredients_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/search_ingredients_responses.go @@ -52,7 +52,8 @@ func NewSearchIngredientsOK() *SearchIngredientsOK { return &SearchIngredientsOK{} } -/* SearchIngredientsOK describes a response with status code 200, with default header values. +/* +SearchIngredientsOK describes a response with status code 200, with default header values. A paginated list of search results */ @@ -84,7 +85,8 @@ func NewSearchIngredientsBadRequest() *SearchIngredientsBadRequest { return &SearchIngredientsBadRequest{} } -/* SearchIngredientsBadRequest describes a response with status code 400, with default header values. +/* +SearchIngredientsBadRequest describes a response with status code 400, with default header values. The search parameters are invalid */ @@ -118,7 +120,8 @@ func NewSearchIngredientsDefault(code int) *SearchIngredientsDefault { } } -/* SearchIngredientsDefault describes a response with status code -1, with default header values. +/* +SearchIngredientsDefault describes a response with status code -1, with default header values. generic error response */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/solve_order_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/solve_order_parameters.go index ac1475a201..dcfedddd98 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/solve_order_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/solve_order_parameters.go @@ -55,10 +55,12 @@ func NewSolveOrderParamsWithHTTPClient(client *http.Client) *SolveOrderParams { } } -/* SolveOrderParams contains all the parameters to send to the API endpoint - for the solve order operation. +/* +SolveOrderParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the solve order operation. + + Typically these are written to a http.Request. */ type SolveOrderParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/solve_order_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/solve_order_responses.go index cf6b4cc7d5..61ea48601e 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/solve_order_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/solve_order_responses.go @@ -52,7 +52,8 @@ func NewSolveOrderCreated() *SolveOrderCreated { return &SolveOrderCreated{} } -/* SolveOrderCreated describes a response with status code 201, with default header values. +/* +SolveOrderCreated describes a response with status code 201, with default header values. Returns the ids of and links to the created recipes */ @@ -82,7 +83,8 @@ func NewSolveOrderBadRequest() *SolveOrderBadRequest { return &SolveOrderBadRequest{} } -/* SolveOrderBadRequest describes a response with status code 400, with default header values. +/* +SolveOrderBadRequest describes a response with status code 400, with default header values. If the order is invalid */ @@ -116,7 +118,8 @@ func NewSolveOrderDefault(code int) *SolveOrderDefault { } } -/* SolveOrderDefault describes a response with status code -1, with default header values. +/* +SolveOrderDefault describes a response with status code -1, with default header values. If there is an error processing the order */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_author_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_author_parameters.go index 39df877b60..beaef2903d 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_author_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_author_parameters.go @@ -54,10 +54,12 @@ func NewUpdateAuthorParamsWithHTTPClient(client *http.Client) *UpdateAuthorParam } } -/* UpdateAuthorParams contains all the parameters to send to the API endpoint - for the update author operation. +/* +UpdateAuthorParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the update author operation. + + Typically these are written to a http.Request. */ type UpdateAuthorParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_author_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_author_responses.go index c28095b8d2..306911c975 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_author_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_author_responses.go @@ -52,7 +52,8 @@ func NewUpdateAuthorOK() *UpdateAuthorOK { return &UpdateAuthorOK{} } -/* UpdateAuthorOK describes a response with status code 200, with default header values. +/* +UpdateAuthorOK describes a response with status code 200, with default header values. Author updated */ @@ -84,7 +85,8 @@ func NewUpdateAuthorBadRequest() *UpdateAuthorBadRequest { return &UpdateAuthorBadRequest{} } -/* UpdateAuthorBadRequest describes a response with status code 400, with default header values. +/* +UpdateAuthorBadRequest describes a response with status code 400, with default header values. If the author is invalid */ @@ -118,7 +120,8 @@ func NewUpdateAuthorDefault(code int) *UpdateAuthorDefault { } } -/* UpdateAuthorDefault describes a response with status code -1, with default header values. +/* +UpdateAuthorDefault describes a response with status code -1, with default header values. If there is an error processing the author */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_build_script_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_build_script_parameters.go index 627a557c66..66d273baef 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_build_script_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_build_script_parameters.go @@ -54,10 +54,12 @@ func NewUpdateBuildScriptParamsWithHTTPClient(client *http.Client) *UpdateBuildS } } -/* UpdateBuildScriptParams contains all the parameters to send to the API endpoint - for the update build script operation. +/* +UpdateBuildScriptParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the update build script operation. + + Typically these are written to a http.Request. */ type UpdateBuildScriptParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_build_script_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_build_script_responses.go index 35a6f869cf..e68782ff62 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_build_script_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_build_script_responses.go @@ -52,7 +52,8 @@ func NewUpdateBuildScriptOK() *UpdateBuildScriptOK { return &UpdateBuildScriptOK{} } -/* UpdateBuildScriptOK describes a response with status code 200, with default header values. +/* +UpdateBuildScriptOK describes a response with status code 200, with default header values. The updated build script */ @@ -84,7 +85,8 @@ func NewUpdateBuildScriptBadRequest() *UpdateBuildScriptBadRequest { return &UpdateBuildScriptBadRequest{} } -/* UpdateBuildScriptBadRequest describes a response with status code 400, with default header values. +/* +UpdateBuildScriptBadRequest describes a response with status code 400, with default header values. If the build script update is invalid or the build script cannot be updated because it is in use by a stable ingredient version revision */ @@ -118,7 +120,8 @@ func NewUpdateBuildScriptDefault(code int) *UpdateBuildScriptDefault { } } -/* UpdateBuildScriptDefault describes a response with status code -1, with default header values. +/* +UpdateBuildScriptDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_ingredient_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_ingredient_parameters.go index 2623041eca..7d6fa266e7 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_ingredient_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_ingredient_parameters.go @@ -54,10 +54,12 @@ func NewUpdateIngredientParamsWithHTTPClient(client *http.Client) *UpdateIngredi } } -/* UpdateIngredientParams contains all the parameters to send to the API endpoint - for the update ingredient operation. +/* +UpdateIngredientParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the update ingredient operation. + + Typically these are written to a http.Request. */ type UpdateIngredientParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_ingredient_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_ingredient_responses.go index b07cfb752d..b6c6b492b2 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_ingredient_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_ingredient_responses.go @@ -46,7 +46,8 @@ func NewUpdateIngredientOK() *UpdateIngredientOK { return &UpdateIngredientOK{} } -/* UpdateIngredientOK describes a response with status code 200, with default header values. +/* +UpdateIngredientOK describes a response with status code 200, with default header values. The updated ingredient */ @@ -80,7 +81,8 @@ func NewUpdateIngredientDefault(code int) *UpdateIngredientDefault { } } -/* UpdateIngredientDefault describes a response with status code -1, with default header values. +/* +UpdateIngredientDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_ingredient_version_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_ingredient_version_parameters.go index a73e52b367..55ff01cdf5 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_ingredient_version_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_ingredient_version_parameters.go @@ -54,10 +54,12 @@ func NewUpdateIngredientVersionParamsWithHTTPClient(client *http.Client) *Update } } -/* UpdateIngredientVersionParams contains all the parameters to send to the API endpoint - for the update ingredient version operation. +/* +UpdateIngredientVersionParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the update ingredient version operation. + + Typically these are written to a http.Request. */ type UpdateIngredientVersionParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_ingredient_version_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_ingredient_version_responses.go index 16b87c66c8..946486f286 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_ingredient_version_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_ingredient_version_responses.go @@ -52,7 +52,8 @@ func NewUpdateIngredientVersionOK() *UpdateIngredientVersionOK { return &UpdateIngredientVersionOK{} } -/* UpdateIngredientVersionOK describes a response with status code 200, with default header values. +/* +UpdateIngredientVersionOK describes a response with status code 200, with default header values. The updated state of the ingredient version */ @@ -84,7 +85,8 @@ func NewUpdateIngredientVersionBadRequest() *UpdateIngredientVersionBadRequest { return &UpdateIngredientVersionBadRequest{} } -/* UpdateIngredientVersionBadRequest describes a response with status code 400, with default header values. +/* +UpdateIngredientVersionBadRequest describes a response with status code 400, with default header values. If the ingredient version is invalid */ @@ -118,7 +120,8 @@ func NewUpdateIngredientVersionDefault(code int) *UpdateIngredientVersionDefault } } -/* UpdateIngredientVersionDefault describes a response with status code -1, with default header values. +/* +UpdateIngredientVersionDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_patch_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_patch_parameters.go index 344cd4d672..69414902e3 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_patch_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_patch_parameters.go @@ -54,10 +54,12 @@ func NewUpdatePatchParamsWithHTTPClient(client *http.Client) *UpdatePatchParams } } -/* UpdatePatchParams contains all the parameters to send to the API endpoint - for the update patch operation. +/* +UpdatePatchParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the update patch operation. + + Typically these are written to a http.Request. */ type UpdatePatchParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_patch_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_patch_responses.go index cf5bed3929..37da22794e 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_patch_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_patch_responses.go @@ -52,7 +52,8 @@ func NewUpdatePatchOK() *UpdatePatchOK { return &UpdatePatchOK{} } -/* UpdatePatchOK describes a response with status code 200, with default header values. +/* +UpdatePatchOK describes a response with status code 200, with default header values. The updated patch */ @@ -84,7 +85,8 @@ func NewUpdatePatchBadRequest() *UpdatePatchBadRequest { return &UpdatePatchBadRequest{} } -/* UpdatePatchBadRequest describes a response with status code 400, with default header values. +/* +UpdatePatchBadRequest describes a response with status code 400, with default header values. If the patch update is invalid or the patch cannot be updated because it is in use by a stable ingredient version revision */ @@ -118,7 +120,8 @@ func NewUpdatePatchDefault(code int) *UpdatePatchDefault { } } -/* UpdatePatchDefault describes a response with status code -1, with default header values. +/* +UpdatePatchDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_platform_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_platform_parameters.go index f7ce5d234b..b1647732a5 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_platform_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_platform_parameters.go @@ -54,10 +54,12 @@ func NewUpdatePlatformParamsWithHTTPClient(client *http.Client) *UpdatePlatformP } } -/* UpdatePlatformParams contains all the parameters to send to the API endpoint - for the update platform operation. +/* +UpdatePlatformParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the update platform operation. + + Typically these are written to a http.Request. */ type UpdatePlatformParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_platform_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_platform_responses.go index 9dc9a9e7d9..070703aae6 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/update_platform_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/update_platform_responses.go @@ -52,7 +52,8 @@ func NewUpdatePlatformOK() *UpdatePlatformOK { return &UpdatePlatformOK{} } -/* UpdatePlatformOK describes a response with status code 200, with default header values. +/* +UpdatePlatformOK describes a response with status code 200, with default header values. The updated state of the platform */ @@ -84,7 +85,8 @@ func NewUpdatePlatformBadRequest() *UpdatePlatformBadRequest { return &UpdatePlatformBadRequest{} } -/* UpdatePlatformBadRequest describes a response with status code 400, with default header values. +/* +UpdatePlatformBadRequest describes a response with status code 400, with default header values. If the platform update in invalid */ @@ -118,7 +120,8 @@ func NewUpdatePlatformDefault(code int) *UpdatePlatformDefault { } } -/* UpdatePlatformDefault describes a response with status code -1, with default header values. +/* +UpdatePlatformDefault describes a response with status code -1, with default header values. If there is an error processing the request */ diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/validate_recipe_parameters.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/validate_recipe_parameters.go index ae7abcce66..c854c5ca2f 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/validate_recipe_parameters.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/validate_recipe_parameters.go @@ -54,10 +54,12 @@ func NewValidateRecipeParamsWithHTTPClient(client *http.Client) *ValidateRecipeP } } -/* ValidateRecipeParams contains all the parameters to send to the API endpoint - for the validate recipe operation. +/* +ValidateRecipeParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the validate recipe operation. + + Typically these are written to a http.Request. */ type ValidateRecipeParams struct { diff --git a/pkg/platform/api/inventory/inventory_client/inventory_operations/validate_recipe_responses.go b/pkg/platform/api/inventory/inventory_client/inventory_operations/validate_recipe_responses.go index 1ecbb76f9a..4719d56d46 100644 --- a/pkg/platform/api/inventory/inventory_client/inventory_operations/validate_recipe_responses.go +++ b/pkg/platform/api/inventory/inventory_client/inventory_operations/validate_recipe_responses.go @@ -52,7 +52,8 @@ func NewValidateRecipeOK() *ValidateRecipeOK { return &ValidateRecipeOK{} } -/* ValidateRecipeOK describes a response with status code 200, with default header values. +/* +ValidateRecipeOK describes a response with status code 200, with default header values. If there are no errors, then there is no body in the response. */ @@ -73,7 +74,8 @@ func NewValidateRecipeBadRequest() *ValidateRecipeBadRequest { return &ValidateRecipeBadRequest{} } -/* ValidateRecipeBadRequest describes a response with status code 400, with default header values. +/* +ValidateRecipeBadRequest describes a response with status code 400, with default header values. If the recipe is invalid, this contains information about its errors. */ @@ -107,7 +109,8 @@ func NewValidateRecipeDefault(code int) *ValidateRecipeDefault { } } -/* ValidateRecipeDefault describes a response with status code -1, with default header values. +/* +ValidateRecipeDefault describes a response with status code -1, with default header values. If there is an error processing the order */ diff --git a/pkg/platform/api/inventory/inventory_models/author.go b/pkg/platform/api/inventory/inventory_models/author.go index 9ee7bc7666..f2f11870c1 100644 --- a/pkg/platform/api/inventory/inventory_models/author.go +++ b/pkg/platform/api/inventory/inventory_models/author.go @@ -15,7 +15,7 @@ import ( // Author Author // -// An author +// # An author // // swagger:model author type Author struct { diff --git a/pkg/platform/api/inventory/inventory_models/author_core.go b/pkg/platform/api/inventory/inventory_models/author_core.go index 5393938978..6960ddfe31 100644 --- a/pkg/platform/api/inventory/inventory_models/author_core.go +++ b/pkg/platform/api/inventory/inventory_models/author_core.go @@ -17,7 +17,7 @@ import ( // AuthorCore Author Core // -// The core fields of a author +// # The core fields of a author // // swagger:model authorCore type AuthorCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/author_paged_list.go b/pkg/platform/api/inventory/inventory_models/author_paged_list.go index 497d3ca827..c6c173b77c 100644 --- a/pkg/platform/api/inventory/inventory_models/author_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/author_paged_list.go @@ -17,7 +17,7 @@ import ( // AuthorPagedList Author Paged List // -// A page of authors from a paged author list +// # A page of authors from a paged author list // // swagger:model authorPagedList type AuthorPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/build_flag.go b/pkg/platform/api/inventory/inventory_models/build_flag.go index 4facfe0a4b..26f5a0cba9 100644 --- a/pkg/platform/api/inventory/inventory_models/build_flag.go +++ b/pkg/platform/api/inventory/inventory_models/build_flag.go @@ -15,7 +15,7 @@ import ( // BuildFlag Build Flag // -// The full build flag data model +// # The full build flag data model // // swagger:model buildFlag type BuildFlag struct { diff --git a/pkg/platform/api/inventory/inventory_models/build_flag_core.go b/pkg/platform/api/inventory/inventory_models/build_flag_core.go index bf1c88e15b..0d3d53001b 100644 --- a/pkg/platform/api/inventory/inventory_models/build_flag_core.go +++ b/pkg/platform/api/inventory/inventory_models/build_flag_core.go @@ -15,7 +15,7 @@ import ( // BuildFlagCore Build Flag Core // -// The properties of a build flag needed to create a new one +// # The properties of a build flag needed to create a new one // // swagger:model buildFlagCore type BuildFlagCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/build_flag_paged_list.go b/pkg/platform/api/inventory/inventory_models/build_flag_paged_list.go index 815b94df2d..6cf3cbd3b9 100644 --- a/pkg/platform/api/inventory/inventory_models/build_flag_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/build_flag_paged_list.go @@ -17,7 +17,7 @@ import ( // BuildFlagPagedList Build Flag Paged List // -// A paginated list of build flag +// # A paginated list of build flag // // swagger:model buildFlagPagedList type BuildFlagPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/build_flag_revision_core.go b/pkg/platform/api/inventory/inventory_models/build_flag_revision_core.go index f63ec1b906..260be4a393 100644 --- a/pkg/platform/api/inventory/inventory_models/build_flag_revision_core.go +++ b/pkg/platform/api/inventory/inventory_models/build_flag_revision_core.go @@ -15,7 +15,7 @@ import ( // BuildFlagRevisionCore Build Flag Revision Core // -// The properties of an build flag revision needed to create a new one +// # The properties of an build flag revision needed to create a new one // // swagger:model buildFlagRevisionCore type BuildFlagRevisionCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/build_script_paged_list.go b/pkg/platform/api/inventory/inventory_models/build_script_paged_list.go index 3c46a5a5fb..aca58a52dd 100644 --- a/pkg/platform/api/inventory/inventory_models/build_script_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/build_script_paged_list.go @@ -17,7 +17,7 @@ import ( // BuildScriptPagedList Build Script Paged List // -// A paginated list of build scripts +// # A paginated list of build scripts // // swagger:model buildScriptPagedList type BuildScriptPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/cpu_architecture.go b/pkg/platform/api/inventory/inventory_models/cpu_architecture.go index b50059eb78..070a6e1274 100644 --- a/pkg/platform/api/inventory/inventory_models/cpu_architecture.go +++ b/pkg/platform/api/inventory/inventory_models/cpu_architecture.go @@ -15,7 +15,7 @@ import ( // CPUArchitecture CPU Architecture // -// The full CPU architecture data model +// # The full CPU architecture data model // // swagger:model cpuArchitecture type CPUArchitecture struct { diff --git a/pkg/platform/api/inventory/inventory_models/cpu_architecture_core.go b/pkg/platform/api/inventory/inventory_models/cpu_architecture_core.go index 3d61fa2b69..db98323203 100644 --- a/pkg/platform/api/inventory/inventory_models/cpu_architecture_core.go +++ b/pkg/platform/api/inventory/inventory_models/cpu_architecture_core.go @@ -15,7 +15,7 @@ import ( // CPUArchitectureCore CPU Architecture Core // -// The properties of a CPU architecture needed to create a new one +// # The properties of a CPU architecture needed to create a new one // // swagger:model cpuArchitectureCore type CPUArchitectureCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/cpu_architecture_paged_list.go b/pkg/platform/api/inventory/inventory_models/cpu_architecture_paged_list.go index 920a915624..db4be7d4c8 100644 --- a/pkg/platform/api/inventory/inventory_models/cpu_architecture_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/cpu_architecture_paged_list.go @@ -17,7 +17,7 @@ import ( // CPUArchitecturePagedList CPU Architecture Paged List // -// A paginated list of CPU architectures +// # A paginated list of CPU architectures // // swagger:model cpuArchitecturePagedList type CPUArchitecturePagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/cpu_extension.go b/pkg/platform/api/inventory/inventory_models/cpu_extension.go index 7aae05957a..a4deeac332 100644 --- a/pkg/platform/api/inventory/inventory_models/cpu_extension.go +++ b/pkg/platform/api/inventory/inventory_models/cpu_extension.go @@ -15,7 +15,7 @@ import ( // CPUExtension CPU Extension // -// The full CPU extension data model +// # The full CPU extension data model // // swagger:model cpuExtension type CPUExtension struct { diff --git a/pkg/platform/api/inventory/inventory_models/cpu_extension_core.go b/pkg/platform/api/inventory/inventory_models/cpu_extension_core.go index 9c8c3097a1..1e49182a92 100644 --- a/pkg/platform/api/inventory/inventory_models/cpu_extension_core.go +++ b/pkg/platform/api/inventory/inventory_models/cpu_extension_core.go @@ -15,7 +15,7 @@ import ( // CPUExtensionCore CPU Extension Core // -// The properties of a CPU extension needed to create a new one +// # The properties of a CPU extension needed to create a new one // // swagger:model cpuExtensionCore type CPUExtensionCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/cpu_extension_paged_list.go b/pkg/platform/api/inventory/inventory_models/cpu_extension_paged_list.go index 760f181731..a3a007014c 100644 --- a/pkg/platform/api/inventory/inventory_models/cpu_extension_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/cpu_extension_paged_list.go @@ -17,7 +17,7 @@ import ( // CPUExtensionPagedList CPU Extension Paged List // -// A paginated list of CPU extensions +// # A paginated list of CPU extensions // // swagger:model cpuExtensionPagedList type CPUExtensionPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/dependency.go b/pkg/platform/api/inventory/inventory_models/dependency.go index 237a4d26e2..f1213c9fe3 100644 --- a/pkg/platform/api/inventory/inventory_models/dependency.go +++ b/pkg/platform/api/inventory/inventory_models/dependency.go @@ -17,7 +17,7 @@ import ( // Dependency Dependency // -// A single dependency for an ingredient version revision +// # A single dependency for an ingredient version revision // // swagger:model dependency type Dependency struct { diff --git a/pkg/platform/api/inventory/inventory_models/gpu_architecture.go b/pkg/platform/api/inventory/inventory_models/gpu_architecture.go index f02d53a7a2..9c737f87f1 100644 --- a/pkg/platform/api/inventory/inventory_models/gpu_architecture.go +++ b/pkg/platform/api/inventory/inventory_models/gpu_architecture.go @@ -15,7 +15,7 @@ import ( // GpuArchitecture GPU Architecture // -// The full GPU architecture data model +// # The full GPU architecture data model // // swagger:model gpuArchitecture type GpuArchitecture struct { diff --git a/pkg/platform/api/inventory/inventory_models/gpu_architecture_core.go b/pkg/platform/api/inventory/inventory_models/gpu_architecture_core.go index e9dc44ecff..7c7877e2a0 100644 --- a/pkg/platform/api/inventory/inventory_models/gpu_architecture_core.go +++ b/pkg/platform/api/inventory/inventory_models/gpu_architecture_core.go @@ -15,7 +15,7 @@ import ( // GpuArchitectureCore GPU Architecture Core // -// The properties of a GPU architecture needed to create a new one +// # The properties of a GPU architecture needed to create a new one // // swagger:model gpuArchitectureCore type GpuArchitectureCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/gpu_architecture_paged_list.go b/pkg/platform/api/inventory/inventory_models/gpu_architecture_paged_list.go index 9972576055..cefc8742f3 100644 --- a/pkg/platform/api/inventory/inventory_models/gpu_architecture_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/gpu_architecture_paged_list.go @@ -17,7 +17,7 @@ import ( // GpuArchitecturePagedList GPU Architecture Paged List // -// A paginated list of GPU architectures +// # A paginated list of GPU architectures // // swagger:model gpuArchitecturePagedList type GpuArchitecturePagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/image.go b/pkg/platform/api/inventory/inventory_models/image.go index f6b190a76f..98733bdcda 100644 --- a/pkg/platform/api/inventory/inventory_models/image.go +++ b/pkg/platform/api/inventory/inventory_models/image.go @@ -15,7 +15,7 @@ import ( // Image Image // -// The full image data model +// # The full image data model // // swagger:model image type Image struct { diff --git a/pkg/platform/api/inventory/inventory_models/image_core.go b/pkg/platform/api/inventory/inventory_models/image_core.go index 6f7d4424b3..12a9ae4d2d 100644 --- a/pkg/platform/api/inventory/inventory_models/image_core.go +++ b/pkg/platform/api/inventory/inventory_models/image_core.go @@ -15,7 +15,7 @@ import ( // ImageCore Image Core // -// The properties of an image needed to create a new one +// # The properties of an image needed to create a new one // // swagger:model imageCore type ImageCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/image_paged_list.go b/pkg/platform/api/inventory/inventory_models/image_paged_list.go index 08850d0f28..864e6a1e8d 100644 --- a/pkg/platform/api/inventory/inventory_models/image_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/image_paged_list.go @@ -17,7 +17,7 @@ import ( // ImagePagedList Image Paged List // -// A paginated list of images +// # A paginated list of images // // swagger:model imagePagedList type ImagePagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/image_revision_core.go b/pkg/platform/api/inventory/inventory_models/image_revision_core.go index e1593c7fbe..366dd2a9fa 100644 --- a/pkg/platform/api/inventory/inventory_models/image_revision_core.go +++ b/pkg/platform/api/inventory/inventory_models/image_revision_core.go @@ -15,7 +15,7 @@ import ( // ImageRevisionCore Image Revision Core // -// The properties of an image revision needed to create a new one +// # The properties of an image revision needed to create a new one // // swagger:model imageRevisionCore type ImageRevisionCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_and_version.go b/pkg/platform/api/inventory/inventory_models/ingredient_and_version.go index 58e9788095..02ac313fc2 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_and_version.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_and_version.go @@ -16,7 +16,7 @@ import ( // IngredientAndVersion Ingredient And Version // -// An ingredient paired with one of its versions +// # An ingredient paired with one of its versions // // swagger:model ingredientAndVersion type IngredientAndVersion struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_and_version_paged_list.go b/pkg/platform/api/inventory/inventory_models/ingredient_and_version_paged_list.go index ff88b3dc58..45826c9421 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_and_version_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_and_version_paged_list.go @@ -17,7 +17,7 @@ import ( // IngredientAndVersionPagedList Ingredient And Version Paged List // -// A paginated list of ingredients and versions +// # A paginated list of ingredients and versions // // swagger:model ingredientAndVersionPagedList type IngredientAndVersionPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_option_set_core.go b/pkg/platform/api/inventory/inventory_models/ingredient_option_set_core.go index a65216fba7..d0f449d10d 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_option_set_core.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_option_set_core.go @@ -15,7 +15,7 @@ import ( // IngredientOptionSetCore Ingredient Option Set Core // -// The properties of an ingredient option set needed to create a new one +// # The properties of an ingredient option set needed to create a new one // // swagger:model ingredientOptionSetCore type IngredientOptionSetCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_option_set_id_revision.go b/pkg/platform/api/inventory/inventory_models/ingredient_option_set_id_revision.go index 7677e6e538..50934616d5 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_option_set_id_revision.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_option_set_id_revision.go @@ -16,7 +16,7 @@ import ( // IngredientOptionSetIDRevision Ingredient Option Set ID Revision // -// Identifies the ingredient option set associated with an ingredient version +// # Identifies the ingredient option set associated with an ingredient version // // swagger:model ingredientOptionSetIdRevision type IngredientOptionSetIDRevision struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_option_set_paged_list.go b/pkg/platform/api/inventory/inventory_models/ingredient_option_set_paged_list.go index 3ad4583b20..419150039d 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_option_set_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_option_set_paged_list.go @@ -17,7 +17,7 @@ import ( // IngredientOptionSetPagedList Ingredient Option Set Paged List // -// A paginated list of ingredient option sets +// # A paginated list of ingredient option sets // // swagger:model ingredientOptionSetPagedList type IngredientOptionSetPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_option_set_revision_core.go b/pkg/platform/api/inventory/inventory_models/ingredient_option_set_revision_core.go index fe90ed02cd..d13ab61bd7 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_option_set_revision_core.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_option_set_revision_core.go @@ -15,7 +15,7 @@ import ( // IngredientOptionSetRevisionCore Ingredient Option Set Revision Core // -// The properties of an ingredient option set revision needed to create a new one +// # The properties of an ingredient option set revision needed to create a new one // // swagger:model ingredientOptionSetRevisionCore type IngredientOptionSetRevisionCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_option_set_with_usage_type.go b/pkg/platform/api/inventory/inventory_models/ingredient_option_set_with_usage_type.go index 05bfeabed3..40ca9b7375 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_option_set_with_usage_type.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_option_set_with_usage_type.go @@ -15,7 +15,7 @@ import ( // IngredientOptionSetWithUsageType Ingredient Option Set with Usage Type // -// An ingredient option set paired with how it is used by the ingredient version +// # An ingredient option set paired with how it is used by the ingredient version // // swagger:model ingredientOptionSetWithUsageType type IngredientOptionSetWithUsageType struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_option_set_with_usage_type_paged_list.go b/pkg/platform/api/inventory/inventory_models/ingredient_option_set_with_usage_type_paged_list.go index 5078fb2ec7..a42fd8b6c9 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_option_set_with_usage_type_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_option_set_with_usage_type_paged_list.go @@ -17,7 +17,7 @@ import ( // IngredientOptionSetWithUsageTypePagedList Ingredient Option Set With Usage Type Paged List // -// A paginated list of ingredient option sets paired with how they are used by the ingredient version +// # A paginated list of ingredient option sets paired with how they are used by the ingredient version // // swagger:model ingredientOptionSetWithUsageTypePagedList type IngredientOptionSetWithUsageTypePagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_paged_list.go b/pkg/platform/api/inventory/inventory_models/ingredient_paged_list.go index 51cef734c4..6e7990992e 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_paged_list.go @@ -17,7 +17,7 @@ import ( // IngredientPagedList Ingredient Paged List // -// A paginated list of ingredients +// # A paginated list of ingredients // // swagger:model ingredientPagedList type IngredientPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_update.go b/pkg/platform/api/inventory/inventory_models/ingredient_update.go index 99f26aae18..b13ec061f4 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_update.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_update.go @@ -16,7 +16,7 @@ import ( // IngredientUpdate Ingredient Update // -// The fields of an ingredient that can be updated +// # The fields of an ingredient that can be updated // // swagger:model ingredientUpdate type IngredientUpdate struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_version_and_usage_type.go b/pkg/platform/api/inventory/inventory_models/ingredient_version_and_usage_type.go index 21e875a9e1..b00edc1add 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_version_and_usage_type.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_version_and_usage_type.go @@ -15,7 +15,7 @@ import ( // IngredientVersionAndUsageType Ingredient, Version, and Usage Type // -// An ingredient, its version, and the way the version uses a particular ingredient option set +// # An ingredient, its version, and the way the version uses a particular ingredient option set // // swagger:model ingredientVersionAndUsageType type IngredientVersionAndUsageType struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_version_and_usage_type_paged_list.go b/pkg/platform/api/inventory/inventory_models/ingredient_version_and_usage_type_paged_list.go index 5ec217bfb6..159d92975b 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_version_and_usage_type_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_version_and_usage_type_paged_list.go @@ -17,7 +17,7 @@ import ( // IngredientVersionAndUsageTypePagedList Ingredient, Version, and Usage Type Paged List // -// A paginated list of ingredients, their versions, and the way that version uses a particular ingredient option set +// # A paginated list of ingredients, their versions, and the way that version uses a particular ingredient option set // // swagger:model ingredientVersionAndUsageTypePagedList type IngredientVersionAndUsageTypePagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_version_core.go b/pkg/platform/api/inventory/inventory_models/ingredient_version_core.go index a345230d2c..3a27871336 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_version_core.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_version_core.go @@ -15,7 +15,7 @@ import ( // IngredientVersionCore Ingredient Version Core // -// The fields of an ingredient version that can be set when an ingredient version is created +// # The fields of an ingredient version that can be set when an ingredient version is created // // swagger:model ingredientVersionCore type IngredientVersionCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_version_paged_list.go b/pkg/platform/api/inventory/inventory_models/ingredient_version_paged_list.go index 8c9e0a341f..ba6973529d 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_version_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_version_paged_list.go @@ -17,7 +17,7 @@ import ( // IngredientVersionPagedList Ingredient Version Paged List // -// A paginated list of ingredient versions +// # A paginated list of ingredient versions // // swagger:model ingredientVersionPagedList type IngredientVersionPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_version_patch_paged_list.go b/pkg/platform/api/inventory/inventory_models/ingredient_version_patch_paged_list.go index ffe84d7fe7..694c7ab435 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_version_patch_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_version_patch_paged_list.go @@ -17,7 +17,7 @@ import ( // IngredientVersionPatchPagedList Ingredient Version Patch Paged List // -// A paginated list of patches for an ingredient version +// # A paginated list of patches for an ingredient version // // swagger:model ingredientVersionPatchPagedList type IngredientVersionPatchPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_version_revision_core.go b/pkg/platform/api/inventory/inventory_models/ingredient_version_revision_core.go index 3f30baab5d..53fe28828c 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_version_revision_core.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_version_revision_core.go @@ -18,7 +18,7 @@ import ( // IngredientVersionRevisionCore Ingredient Version Revision Core // -// The fields of an ingredient version that can be updated by creating a new revision +// # The fields of an ingredient version that can be updated by creating a new revision // // swagger:model ingredientVersionRevisionCore type IngredientVersionRevisionCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_version_revision_paged_list.go b/pkg/platform/api/inventory/inventory_models/ingredient_version_revision_paged_list.go index b55129ae51..f2c8736a63 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_version_revision_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_version_revision_paged_list.go @@ -17,7 +17,7 @@ import ( // IngredientVersionRevisionPagedList Ingredient Version Revision Paged List // -// A paginated list of ingredient version revisions +// # A paginated list of ingredient version revisions // // swagger:model ingredientVersionRevisionPagedList type IngredientVersionRevisionPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_version_revision_patch.go b/pkg/platform/api/inventory/inventory_models/ingredient_version_revision_patch.go index c8d1fba39f..fd30fde330 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_version_revision_patch.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_version_revision_patch.go @@ -15,7 +15,7 @@ import ( // IngredientVersionRevisionPatch Ingredient Version Revision Patch // -// A single patch along with its sequence number for a particular ingredient version revision +// # A single patch along with its sequence number for a particular ingredient version revision // // swagger:model ingredientVersionRevisionPatch type IngredientVersionRevisionPatch struct { diff --git a/pkg/platform/api/inventory/inventory_models/ingredient_version_update.go b/pkg/platform/api/inventory/inventory_models/ingredient_version_update.go index 2a8610e255..27e5b26378 100644 --- a/pkg/platform/api/inventory/inventory_models/ingredient_version_update.go +++ b/pkg/platform/api/inventory/inventory_models/ingredient_version_update.go @@ -16,7 +16,7 @@ import ( // IngredientVersionUpdate Ingredient Version Core // -// The fields of an ingredient version that can be updated +// # The fields of an ingredient version that can be updated // // swagger:model ingredientVersionUpdate type IngredientVersionUpdate struct { diff --git a/pkg/platform/api/inventory/inventory_models/inventory_response.go b/pkg/platform/api/inventory/inventory_models/inventory_response.go index 886f138629..418d3eebe8 100644 --- a/pkg/platform/api/inventory/inventory_models/inventory_response.go +++ b/pkg/platform/api/inventory/inventory_models/inventory_response.go @@ -16,7 +16,7 @@ import ( // InventoryResponse Inventory Response // -// A generic response to an inventory api request +// # A generic response to an inventory api request // // swagger:model inventoryResponse type InventoryResponse struct { diff --git a/pkg/platform/api/inventory/inventory_models/kernel.go b/pkg/platform/api/inventory/inventory_models/kernel.go index f9268be3da..e6e6819b7f 100644 --- a/pkg/platform/api/inventory/inventory_models/kernel.go +++ b/pkg/platform/api/inventory/inventory_models/kernel.go @@ -15,7 +15,7 @@ import ( // Kernel Kernel // -// The full kernel data model +// # The full kernel data model // // swagger:model kernel type Kernel struct { diff --git a/pkg/platform/api/inventory/inventory_models/kernel_core.go b/pkg/platform/api/inventory/inventory_models/kernel_core.go index c339a61aa1..f498cb8868 100644 --- a/pkg/platform/api/inventory/inventory_models/kernel_core.go +++ b/pkg/platform/api/inventory/inventory_models/kernel_core.go @@ -16,7 +16,7 @@ import ( // KernelCore Kernel Core // -// The properties of a kernel needed to create a new one +// # The properties of a kernel needed to create a new one // // swagger:model kernelCore type KernelCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/kernel_paged_list.go b/pkg/platform/api/inventory/inventory_models/kernel_paged_list.go index e1a808a1db..c9b845a596 100644 --- a/pkg/platform/api/inventory/inventory_models/kernel_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/kernel_paged_list.go @@ -17,7 +17,7 @@ import ( // KernelPagedList Kernel Paged List // -// A paginated list of kernels +// # A paginated list of kernels // // swagger:model kernelPagedList type KernelPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/kernel_version.go b/pkg/platform/api/inventory/inventory_models/kernel_version.go index d7fe8c1063..48dd49545d 100644 --- a/pkg/platform/api/inventory/inventory_models/kernel_version.go +++ b/pkg/platform/api/inventory/inventory_models/kernel_version.go @@ -15,7 +15,7 @@ import ( // KernelVersion Kernel Version // -// The full kernel version data model +// # The full kernel version data model // // swagger:model kernelVersion type KernelVersion struct { diff --git a/pkg/platform/api/inventory/inventory_models/kernel_version_core.go b/pkg/platform/api/inventory/inventory_models/kernel_version_core.go index 3dd1608e17..ffd41f4e9c 100644 --- a/pkg/platform/api/inventory/inventory_models/kernel_version_core.go +++ b/pkg/platform/api/inventory/inventory_models/kernel_version_core.go @@ -15,7 +15,7 @@ import ( // KernelVersionCore Kernel Version Core // -// The properties of a kernel version needed to create a new one +// # The properties of a kernel version needed to create a new one // // swagger:model kernelVersionCore type KernelVersionCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/kernel_version_paged_list.go b/pkg/platform/api/inventory/inventory_models/kernel_version_paged_list.go index fe56c2cdb4..3b179d25d1 100644 --- a/pkg/platform/api/inventory/inventory_models/kernel_version_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/kernel_version_paged_list.go @@ -17,7 +17,7 @@ import ( // KernelVersionPagedList Kernel Version Paged List // -// A paginated list of kernel versions +// # A paginated list of kernel versions // // swagger:model kernelVersionPagedList type KernelVersionPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/latest_timestamp.go b/pkg/platform/api/inventory/inventory_models/latest_timestamp.go index bc60d2fc5e..021b4fdbde 100644 --- a/pkg/platform/api/inventory/inventory_models/latest_timestamp.go +++ b/pkg/platform/api/inventory/inventory_models/latest_timestamp.go @@ -16,7 +16,7 @@ import ( // LatestTimestamp LatestTimestamp // -// The latest timestamp that should be used with other inventory service requests, such as solve requests +// # The latest timestamp that should be used with other inventory service requests, such as solve requests // // swagger:model latestTimestamp type LatestTimestamp struct { diff --git a/pkg/platform/api/inventory/inventory_models/libc.go b/pkg/platform/api/inventory/inventory_models/libc.go index 58367140df..854bdf0832 100644 --- a/pkg/platform/api/inventory/inventory_models/libc.go +++ b/pkg/platform/api/inventory/inventory_models/libc.go @@ -15,7 +15,7 @@ import ( // Libc Libc // -// The full libc data model +// # The full libc data model // // swagger:model libc type Libc struct { diff --git a/pkg/platform/api/inventory/inventory_models/libc_core.go b/pkg/platform/api/inventory/inventory_models/libc_core.go index 503980ae12..6a30858748 100644 --- a/pkg/platform/api/inventory/inventory_models/libc_core.go +++ b/pkg/platform/api/inventory/inventory_models/libc_core.go @@ -16,7 +16,7 @@ import ( // LibcCore Libc Core // -// The properties of a libc needed to create a new one +// # The properties of a libc needed to create a new one // // swagger:model libcCore type LibcCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/libc_paged_list.go b/pkg/platform/api/inventory/inventory_models/libc_paged_list.go index 49f1863691..46667fa043 100644 --- a/pkg/platform/api/inventory/inventory_models/libc_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/libc_paged_list.go @@ -17,7 +17,7 @@ import ( // LibcPagedList Libc Paged List // -// A paginated list of libcs +// # A paginated list of libcs // // swagger:model libcPagedList type LibcPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/libc_version.go b/pkg/platform/api/inventory/inventory_models/libc_version.go index ec397cd4f7..fda41ac1a1 100644 --- a/pkg/platform/api/inventory/inventory_models/libc_version.go +++ b/pkg/platform/api/inventory/inventory_models/libc_version.go @@ -15,7 +15,7 @@ import ( // LibcVersion Libc Version // -// The full libc version data model +// # The full libc version data model // // swagger:model libcVersion type LibcVersion struct { diff --git a/pkg/platform/api/inventory/inventory_models/libc_version_core.go b/pkg/platform/api/inventory/inventory_models/libc_version_core.go index 7743290292..0e90244523 100644 --- a/pkg/platform/api/inventory/inventory_models/libc_version_core.go +++ b/pkg/platform/api/inventory/inventory_models/libc_version_core.go @@ -15,7 +15,7 @@ import ( // LibcVersionCore Libc Version Core // -// The properties of a libc version needed to create a new one +// # The properties of a libc version needed to create a new one // // swagger:model libcVersionCore type LibcVersionCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/libc_version_paged_list.go b/pkg/platform/api/inventory/inventory_models/libc_version_paged_list.go index f3529d86b1..586f058408 100644 --- a/pkg/platform/api/inventory/inventory_models/libc_version_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/libc_version_paged_list.go @@ -17,7 +17,7 @@ import ( // LibcVersionPagedList Libc Version Paged List // -// A paginated list of libc versions +// # A paginated list of libc versions // // swagger:model libcVersionPagedList type LibcVersionPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/namespace.go b/pkg/platform/api/inventory/inventory_models/namespace.go index e5e7c62385..f595b55462 100644 --- a/pkg/platform/api/inventory/inventory_models/namespace.go +++ b/pkg/platform/api/inventory/inventory_models/namespace.go @@ -15,7 +15,7 @@ import ( // Namespace namespace // -// The full namespace data model +// # The full namespace data model // // swagger:model namespace type Namespace struct { diff --git a/pkg/platform/api/inventory/inventory_models/namespace_core.go b/pkg/platform/api/inventory/inventory_models/namespace_core.go index eb2ff20e48..a17088c72f 100644 --- a/pkg/platform/api/inventory/inventory_models/namespace_core.go +++ b/pkg/platform/api/inventory/inventory_models/namespace_core.go @@ -17,7 +17,7 @@ import ( // NamespaceCore Namespace Core // -// The properties of a namespace needed to create a new one +// # The properties of a namespace needed to create a new one // // swagger:model namespaceCore type NamespaceCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/namespace_paged_list.go b/pkg/platform/api/inventory/inventory_models/namespace_paged_list.go index 5514bc59b8..38a42fe0fc 100644 --- a/pkg/platform/api/inventory/inventory_models/namespace_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/namespace_paged_list.go @@ -17,7 +17,7 @@ import ( // NamespacePagedList Namespace Paged List // -// A paginated list of namespaces +// # A paginated list of namespaces // // swagger:model namespacePagedList type NamespacePagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/operating_system.go b/pkg/platform/api/inventory/inventory_models/operating_system.go index e758e17b0a..2a5599d662 100644 --- a/pkg/platform/api/inventory/inventory_models/operating_system.go +++ b/pkg/platform/api/inventory/inventory_models/operating_system.go @@ -15,7 +15,7 @@ import ( // OperatingSystem Operating System // -// The full operating system data model +// # The full operating system data model // // swagger:model operatingSystem type OperatingSystem struct { diff --git a/pkg/platform/api/inventory/inventory_models/operating_system_core.go b/pkg/platform/api/inventory/inventory_models/operating_system_core.go index 354c59ef58..7beae5c7a5 100644 --- a/pkg/platform/api/inventory/inventory_models/operating_system_core.go +++ b/pkg/platform/api/inventory/inventory_models/operating_system_core.go @@ -16,7 +16,7 @@ import ( // OperatingSystemCore Operating System Core // -// The properties of an operating system needed to create a new one +// # The properties of an operating system needed to create a new one // // swagger:model operatingSystemCore type OperatingSystemCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/operating_system_paged_list.go b/pkg/platform/api/inventory/inventory_models/operating_system_paged_list.go index aaa5d35d91..5e8de5d0a8 100644 --- a/pkg/platform/api/inventory/inventory_models/operating_system_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/operating_system_paged_list.go @@ -17,7 +17,7 @@ import ( // OperatingSystemPagedList Operating System Paged List // -// A paginated list of operating systems +// # A paginated list of operating systems // // swagger:model operatingSystemPagedList type OperatingSystemPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/operating_system_version.go b/pkg/platform/api/inventory/inventory_models/operating_system_version.go index 80a01ceb64..7fe509de98 100644 --- a/pkg/platform/api/inventory/inventory_models/operating_system_version.go +++ b/pkg/platform/api/inventory/inventory_models/operating_system_version.go @@ -15,7 +15,7 @@ import ( // OperatingSystemVersion Operating System Version // -// The full operating system version data model +// # The full operating system version data model // // swagger:model operatingSystemVersion type OperatingSystemVersion struct { diff --git a/pkg/platform/api/inventory/inventory_models/operating_system_version_core.go b/pkg/platform/api/inventory/inventory_models/operating_system_version_core.go index fa017f1ce2..0ff8cf616c 100644 --- a/pkg/platform/api/inventory/inventory_models/operating_system_version_core.go +++ b/pkg/platform/api/inventory/inventory_models/operating_system_version_core.go @@ -15,7 +15,7 @@ import ( // OperatingSystemVersionCore Operating System Version Core // -// The properties of an operating system version needed to create a new one +// # The properties of an operating system version needed to create a new one // // swagger:model operatingSystemVersionCore type OperatingSystemVersionCore struct { diff --git a/pkg/platform/api/inventory/inventory_models/operating_system_version_paged_list.go b/pkg/platform/api/inventory/inventory_models/operating_system_version_paged_list.go index 68903335dc..a278db1eec 100644 --- a/pkg/platform/api/inventory/inventory_models/operating_system_version_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/operating_system_version_paged_list.go @@ -17,7 +17,7 @@ import ( // OperatingSystemVersionPagedList Operating System Version Paged List // -// A paginated list of operating system versions +// # A paginated list of operating system versions // // swagger:model operatingSystemVersionPagedList type OperatingSystemVersionPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/paging.go b/pkg/platform/api/inventory/inventory_models/paging.go index 2bb0784996..2ba0ed2224 100644 --- a/pkg/platform/api/inventory/inventory_models/paging.go +++ b/pkg/platform/api/inventory/inventory_models/paging.go @@ -16,7 +16,7 @@ import ( // Paging Paging // -// Paging data +// # Paging data // // swagger:model paging type Paging struct { diff --git a/pkg/platform/api/inventory/inventory_models/paging_links.go b/pkg/platform/api/inventory/inventory_models/paging_links.go index 038e9483af..f7aab95306 100644 --- a/pkg/platform/api/inventory/inventory_models/paging_links.go +++ b/pkg/platform/api/inventory/inventory_models/paging_links.go @@ -16,7 +16,7 @@ import ( // PagingLinks Paging Links // -// Links for a model that include links for paging data +// # Links for a model that include links for paging data // // swagger:model pagingLinks type PagingLinks struct { diff --git a/pkg/platform/api/inventory/inventory_models/patch_paged_list.go b/pkg/platform/api/inventory/inventory_models/patch_paged_list.go index e2f8a26cee..c370aa161f 100644 --- a/pkg/platform/api/inventory/inventory_models/patch_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/patch_paged_list.go @@ -17,7 +17,7 @@ import ( // PatchPagedList Patch Paged List // -// A paginated list of patches +// # A paginated list of patches // // swagger:model patchPagedList type PatchPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/platform_paged_list.go b/pkg/platform/api/inventory/inventory_models/platform_paged_list.go index ca98f4bd9b..63697c2a90 100644 --- a/pkg/platform/api/inventory/inventory_models/platform_paged_list.go +++ b/pkg/platform/api/inventory/inventory_models/platform_paged_list.go @@ -17,7 +17,7 @@ import ( // PlatformPagedList Platform Paged List // -// A paginated list of platforms +// # A paginated list of platforms // // swagger:model platformPagedList type PlatformPagedList struct { diff --git a/pkg/platform/api/inventory/inventory_models/provided_feature.go b/pkg/platform/api/inventory/inventory_models/provided_feature.go index d63057eea2..724344bd24 100644 --- a/pkg/platform/api/inventory/inventory_models/provided_feature.go +++ b/pkg/platform/api/inventory/inventory_models/provided_feature.go @@ -15,7 +15,7 @@ import ( // ProvidedFeature Provided Feature // -// A feature that is provided by a revisioned resource +// # A feature that is provided by a revisioned resource // // swagger:model providedFeature type ProvidedFeature struct { diff --git a/pkg/platform/api/inventory/inventory_models/recipe_validation_error_item.go b/pkg/platform/api/inventory/inventory_models/recipe_validation_error_item.go index 8da6b07f88..3d0df8102a 100644 --- a/pkg/platform/api/inventory/inventory_models/recipe_validation_error_item.go +++ b/pkg/platform/api/inventory/inventory_models/recipe_validation_error_item.go @@ -16,7 +16,7 @@ import ( // RecipeValidationErrorItem Recipe Validation Error Item // -// A single validation error +// # A single validation error // // swagger:model recipeValidationErrorItem type RecipeValidationErrorItem struct { diff --git a/pkg/platform/api/inventory/inventory_models/requirements.go b/pkg/platform/api/inventory/inventory_models/requirements.go index d07d6e13dc..83ffa316f1 100644 --- a/pkg/platform/api/inventory/inventory_models/requirements.go +++ b/pkg/platform/api/inventory/inventory_models/requirements.go @@ -17,7 +17,7 @@ import ( // Requirements Requirements // -// The version constraints that an ingredient version's requirement or condition puts on a feature +// # The version constraints that an ingredient version's requirement or condition puts on a feature // // swagger:model requirements type Requirements []*Requirement diff --git a/pkg/platform/api/inventory/inventory_models/resolved_ingredient.go b/pkg/platform/api/inventory/inventory_models/resolved_ingredient.go index 719bd12e84..0e2f6c3473 100644 --- a/pkg/platform/api/inventory/inventory_models/resolved_ingredient.go +++ b/pkg/platform/api/inventory/inventory_models/resolved_ingredient.go @@ -17,7 +17,7 @@ import ( // ResolvedIngredient Resolved Ingredient // -// An ingredient that is part of a recipe's resolved requirements +// # An ingredient that is part of a recipe's resolved requirements // // swagger:model resolvedIngredient type ResolvedIngredient struct { diff --git a/pkg/platform/api/inventory/inventory_models/revisioned_resource.go b/pkg/platform/api/inventory/inventory_models/revisioned_resource.go index 4bfbb62a4f..30bba930cf 100644 --- a/pkg/platform/api/inventory/inventory_models/revisioned_resource.go +++ b/pkg/platform/api/inventory/inventory_models/revisioned_resource.go @@ -16,7 +16,7 @@ import ( // RevisionedResource Revisioned Resource // -// Properties shared by all revisioned resources +// # Properties shared by all revisioned resources // // swagger:model revisionedResource type RevisionedResource struct { diff --git a/pkg/platform/api/inventory/inventory_models/self_link.go b/pkg/platform/api/inventory/inventory_models/self_link.go index 41a48e3883..f02a3a7f1c 100644 --- a/pkg/platform/api/inventory/inventory_models/self_link.go +++ b/pkg/platform/api/inventory/inventory_models/self_link.go @@ -16,7 +16,7 @@ import ( // SelfLink Self Link // -// A self link +// # A self link // // swagger:model selfLink type SelfLink struct { diff --git a/pkg/platform/api/inventory/inventory_models/solution_recipe.go b/pkg/platform/api/inventory/inventory_models/solution_recipe.go index 238927aaab..7a3d533870 100644 --- a/pkg/platform/api/inventory/inventory_models/solution_recipe.go +++ b/pkg/platform/api/inventory/inventory_models/solution_recipe.go @@ -16,7 +16,7 @@ import ( // SolutionRecipe SolverRecipe // -// A recipe with a URL, created by a solver, containing all required information to build for a single platform +// # A recipe with a URL, created by a solver, containing all required information to build for a single platform // // swagger:model solutionRecipe type SolutionRecipe struct { diff --git a/pkg/platform/api/inventory/inventory_models/solver_incompatibility.go b/pkg/platform/api/inventory/inventory_models/solver_incompatibility.go index 4ba9ba2986..cb10910b81 100644 --- a/pkg/platform/api/inventory/inventory_models/solver_incompatibility.go +++ b/pkg/platform/api/inventory/inventory_models/solver_incompatibility.go @@ -17,7 +17,7 @@ import ( // SolverIncompatibility Solver Incompatibility // -// A requirement, transitive dependency or platform that is part of a solver error +// # A requirement, transitive dependency or platform that is part of a solver error // // swagger:model solverIncompatibility type SolverIncompatibility struct { diff --git a/pkg/platform/api/inventory/inventory_models/solver_remediable_error.go b/pkg/platform/api/inventory/inventory_models/solver_remediable_error.go index 7f4e189a1c..67e95c88e1 100644 --- a/pkg/platform/api/inventory/inventory_models/solver_remediable_error.go +++ b/pkg/platform/api/inventory/inventory_models/solver_remediable_error.go @@ -18,7 +18,7 @@ import ( // SolverRemediableError Solver Remediable Error // -// A solver error with suggested remediation steps +// # A solver error with suggested remediation steps // // swagger:model solverRemediableError type SolverRemediableError struct { diff --git a/pkg/platform/api/inventory/inventory_models/solver_remediation.go b/pkg/platform/api/inventory/inventory_models/solver_remediation.go index a2813e7216..08a243f020 100644 --- a/pkg/platform/api/inventory/inventory_models/solver_remediation.go +++ b/pkg/platform/api/inventory/inventory_models/solver_remediation.go @@ -17,7 +17,7 @@ import ( // SolverRemediation Solver Remediation // -// An action that a user can take to attempt to resolve a solver error +// # An action that a user can take to attempt to resolve a solver error // // swagger:model solverRemediation type SolverRemediation struct { diff --git a/pkg/platform/api/inventory/inventory_models/version_info.go b/pkg/platform/api/inventory/inventory_models/version_info.go index 489d2a5938..8958e81a20 100644 --- a/pkg/platform/api/inventory/inventory_models/version_info.go +++ b/pkg/platform/api/inventory/inventory_models/version_info.go @@ -17,7 +17,7 @@ import ( // VersionInfo Version Info // -// Properties shared by all versioned resources +// # Properties shared by all versioned resources // // swagger:model versionInfo type VersionInfo struct { diff --git a/pkg/platform/api/inventory/inventory_models/version_requirement.go b/pkg/platform/api/inventory/inventory_models/version_requirement.go index fb85edc2cb..6452052309 100644 --- a/pkg/platform/api/inventory/inventory_models/version_requirement.go +++ b/pkg/platform/api/inventory/inventory_models/version_requirement.go @@ -17,7 +17,7 @@ import ( // VersionRequirement Version Requirement // -// The version constraint for a feature +// # The version constraint for a feature // // swagger:model versionRequirement type VersionRequirement struct { diff --git a/pkg/platform/api/mediator/request/cve.go b/pkg/platform/api/mediator/request/cve.go index 96d0a80f52..85412a2a83 100644 --- a/pkg/platform/api/mediator/request/cve.go +++ b/pkg/platform/api/mediator/request/cve.go @@ -2,7 +2,7 @@ package request // VulnerabilitiesByProject returns the query for retrieving vulnerabilities by projects func VulnerabilitiesByProject(org, name string) *vulnerabilitiesByProject { - return &vulnerabilitiesByProject{vars: map[string]interface{}{ + return &vulnerabilitiesByProject{map[string]interface{}{ "org": org, "name": name, }} @@ -44,8 +44,8 @@ func (p *vulnerabilitiesByProject) Query() string { }` } -func (p *vulnerabilitiesByProject) Vars() (map[string]interface{}, error) { - return p.vars, nil +func (p *vulnerabilitiesByProject) Vars() map[string]interface{} { + return p.vars } type vulnerabilitiesByCommit struct { @@ -54,7 +54,7 @@ type vulnerabilitiesByCommit struct { // VulnerabilitiesByCommit returns the query for retrieving vulnerabilities for a specific commit func VulnerabilitiesByCommit(commitID string) *vulnerabilitiesByCommit { - return &vulnerabilitiesByCommit{vars: map[string]interface{}{ + return &vulnerabilitiesByCommit{map[string]interface{}{ "commit_id": commitID, }} } @@ -87,6 +87,6 @@ func (p *vulnerabilitiesByCommit) Query() string { }` } -func (p *vulnerabilitiesByCommit) Vars() (map[string]interface{}, error) { - return p.vars, nil +func (p *vulnerabilitiesByCommit) Vars() map[string]interface{} { + return p.vars } diff --git a/pkg/platform/api/mediator/request/supportedlangs.go b/pkg/platform/api/mediator/request/supportedlangs.go index 895c055631..db6639251e 100644 --- a/pkg/platform/api/mediator/request/supportedlangs.go +++ b/pkg/platform/api/mediator/request/supportedlangs.go @@ -1,7 +1,7 @@ package request func SupportedLanguages(osName string) *supportedLanguages { - return &supportedLanguages{vars: map[string]interface{}{ + return &supportedLanguages{map[string]interface{}{ "os_name": osName, }} } @@ -19,6 +19,6 @@ func (p *supportedLanguages) Query() string { }` } -func (p *supportedLanguages) Vars() (map[string]interface{}, error) { - return p.vars, nil +func (p *supportedLanguages) Vars() map[string]interface{} { + return p.vars } diff --git a/pkg/platform/api/mono/mono_client/authentication/add_token_parameters.go b/pkg/platform/api/mono/mono_client/authentication/add_token_parameters.go index 2b301f6749..8ccc8647c7 100644 --- a/pkg/platform/api/mono/mono_client/authentication/add_token_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/add_token_parameters.go @@ -54,10 +54,12 @@ func NewAddTokenParamsWithHTTPClient(client *http.Client) *AddTokenParams { } } -/* AddTokenParams contains all the parameters to send to the API endpoint - for the add token operation. +/* +AddTokenParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add token operation. + + Typically these are written to a http.Request. */ type AddTokenParams struct { diff --git a/pkg/platform/api/mono/mono_client/authentication/add_token_responses.go b/pkg/platform/api/mono/mono_client/authentication/add_token_responses.go index 335906b088..cb799d290a 100644 --- a/pkg/platform/api/mono/mono_client/authentication/add_token_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/add_token_responses.go @@ -45,7 +45,8 @@ func NewAddTokenOK() *AddTokenOK { return &AddTokenOK{} } -/* AddTokenOK describes a response with status code 200, with default header values. +/* +AddTokenOK describes a response with status code 200, with default header values. Success */ @@ -77,7 +78,8 @@ func NewAddTokenBadRequest() *AddTokenBadRequest { return &AddTokenBadRequest{} } -/* AddTokenBadRequest describes a response with status code 400, with default header values. +/* +AddTokenBadRequest describes a response with status code 400, with default header values. Bad Request */ diff --git a/pkg/platform/api/mono/mono_client/authentication/authentication_client.go b/pkg/platform/api/mono/mono_client/authentication/authentication_client.go index c7a43e0ab6..273b700b0b 100644 --- a/pkg/platform/api/mono/mono_client/authentication/authentication_client.go +++ b/pkg/platform/api/mono/mono_client/authentication/authentication_client.go @@ -72,9 +72,9 @@ type ClientService interface { } /* - GetLoginJwtToken logins with a valid j w t and redirect to a platform URL +GetLoginJwtToken logins with a valid j w t and redirect to a platform URL - Login with a valid JWT and redirect to a platform URL +Login with a valid JWT and redirect to a platform URL */ func (a *Client) GetLoginJwtToken(params *GetLoginJwtTokenParams, opts ...ClientOption) error { // TODO: Validate the params before sending @@ -105,9 +105,9 @@ func (a *Client) GetLoginJwtToken(params *GetLoginJwtTokenParams, opts ...Client } /* - GetLogout logs out of the current session +GetLogout logs out of the current session - Log out of the current session +Log out of the current session */ func (a *Client) GetLogout(params *GetLogoutParams, opts ...ClientOption) (*GetLogoutNoContent, error) { // TODO: Validate the params before sending @@ -145,9 +145,9 @@ func (a *Client) GetLogout(params *GetLogoutParams, opts ...ClientOption) (*GetL } /* - GetRenew renews a valid j w t +GetRenew renews a valid j w t - Renew your current JWT to forestall expiration +Renew your current JWT to forestall expiration */ func (a *Client) GetRenew(params *GetRenewParams, opts ...ClientOption) (*GetRenewOK, error) { // TODO: Validate the params before sending @@ -185,9 +185,9 @@ func (a *Client) GetRenew(params *GetRenewParams, opts ...ClientOption) (*GetRen } /* - PostLogin trades your credentials for a j w t +PostLogin trades your credentials for a j w t - Supply either username/password OR token +Supply either username/password OR token */ func (a *Client) PostLogin(params *PostLoginParams, opts ...ClientOption) (*PostLoginOK, error) { // TODO: Validate the params before sending @@ -225,9 +225,9 @@ func (a *Client) PostLogin(params *PostLoginParams, opts ...ClientOption) (*Post } /* - AddToken generates an API token for current user +AddToken generates an API token for current user - Produces an API token for use with automated API clients +Produces an API token for use with automated API clients */ func (a *Client) AddToken(params *AddTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddTokenOK, error) { // TODO: Validate the params before sending @@ -266,9 +266,9 @@ func (a *Client) AddToken(params *AddTokenParams, authInfo runtime.ClientAuthInf } /* - ChangePassword changes the current password +ChangePassword changes the current password - Prompts for current password which is used to change it to something new. +Prompts for current password which is used to change it to something new. */ func (a *Client) ChangePassword(params *ChangePasswordParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChangePasswordOK, error) { // TODO: Validate the params before sending @@ -307,9 +307,9 @@ func (a *Client) ChangePassword(params *ChangePasswordParams, authInfo runtime.C } /* - DeleteToken deletes an API token +DeleteToken deletes an API token - Deletes the specified API Token +Deletes the specified API Token */ func (a *Client) DeleteToken(params *DeleteTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTokenOK, error) { // TODO: Validate the params before sending @@ -348,9 +348,9 @@ func (a *Client) DeleteToken(params *DeleteTokenParams, authInfo runtime.ClientA } /* - DisableTOTP disables t o t p +DisableTOTP disables t o t p - Disable TOTP authentication +Disable TOTP authentication */ func (a *Client) DisableTOTP(params *DisableTOTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DisableTOTPOK, error) { // TODO: Validate the params before sending @@ -389,9 +389,9 @@ func (a *Client) DisableTOTP(params *DisableTOTPParams, authInfo runtime.ClientA } /* - EnableTOTP enables t o t p +EnableTOTP enables t o t p - Enable TOTP authentication by performing initial code validation +Enable TOTP authentication by performing initial code validation */ func (a *Client) EnableTOTP(params *EnableTOTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EnableTOTPOK, error) { // TODO: Validate the params before sending @@ -430,7 +430,7 @@ func (a *Client) EnableTOTP(params *EnableTOTPParams, authInfo runtime.ClientAut } /* - GithubAuthError callbacks endpoint for handling errors that come from github +GithubAuthError callbacks endpoint for handling errors that come from github */ func (a *Client) GithubAuthError(params *GithubAuthErrorParams, opts ...ClientOption) error { // TODO: Validate the params before sending @@ -461,7 +461,7 @@ func (a *Client) GithubAuthError(params *GithubAuthErrorParams, opts ...ClientOp } /* - LinkGithubAccount callbacks endpoint for linking an account to github +LinkGithubAccount callbacks endpoint for linking an account to github */ func (a *Client) LinkGithubAccount(params *LinkGithubAccountParams, opts ...ClientOption) error { // TODO: Validate the params before sending @@ -492,9 +492,9 @@ func (a *Client) LinkGithubAccount(params *LinkGithubAccountParams, opts ...Clie } /* - ListTokens lists current user s API tokens +ListTokens lists current user s API tokens - List of all active API Tokens for current user +List of all active API Tokens for current user */ func (a *Client) ListTokens(params *ListTokensParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTokensOK, error) { // TODO: Validate the params before sending @@ -533,7 +533,7 @@ func (a *Client) ListTokens(params *ListTokensParams, authInfo runtime.ClientAut } /* - LoginAs logins as given user requires you to be a superuser +LoginAs logins as given user requires you to be a superuser */ func (a *Client) LoginAs(params *LoginAsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LoginAsOK, error) { // TODO: Validate the params before sending @@ -572,7 +572,7 @@ func (a *Client) LoginAs(params *LoginAsParams, authInfo runtime.ClientAuthInfoW } /* - LoginWithGithub callbacks endpoint for logging in via github auth +LoginWithGithub callbacks endpoint for logging in via github auth */ func (a *Client) LoginWithGithub(params *LoginWithGithubParams, opts ...ClientOption) error { // TODO: Validate the params before sending @@ -603,9 +603,9 @@ func (a *Client) LoginWithGithub(params *LoginWithGithubParams, opts ...ClientOp } /* - NewTOTP sets up a new t o t p key +NewTOTP sets up a new t o t p key - Establish the private key for two-factor authentication +Establish the private key for two-factor authentication */ func (a *Client) NewTOTP(params *NewTOTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NewTOTPOK, error) { // TODO: Validate the params before sending @@ -644,9 +644,9 @@ func (a *Client) NewTOTP(params *NewTOTPParams, authInfo runtime.ClientAuthInfoW } /* - RequestReset requests a password recovery email +RequestReset requests a password recovery email - Sends a link which can be used to reset a forgotten password. +Sends a link which can be used to reset a forgotten password. */ func (a *Client) RequestReset(params *RequestResetParams, opts ...ClientOption) (*RequestResetOK, error) { // TODO: Validate the params before sending @@ -684,9 +684,9 @@ func (a *Client) RequestReset(params *RequestResetParams, opts ...ClientOption) } /* - ResetPassword resets a forgotten password +ResetPassword resets a forgotten password - Sends a link which can be used to reset a forgotten password. +Sends a link which can be used to reset a forgotten password. */ func (a *Client) ResetPassword(params *ResetPasswordParams, opts ...ClientOption) (*ResetPasswordOK, error) { // TODO: Validate the params before sending @@ -724,7 +724,7 @@ func (a *Client) ResetPassword(params *ResetPasswordParams, opts ...ClientOption } /* - SignupWithGithub callbacks endpoint for signing up via github auth +SignupWithGithub callbacks endpoint for signing up via github auth */ func (a *Client) SignupWithGithub(params *SignupWithGithubParams, opts ...ClientOption) error { // TODO: Validate the params before sending @@ -755,7 +755,7 @@ func (a *Client) SignupWithGithub(params *SignupWithGithubParams, opts ...Client } /* - UnlinkGithubAccount callbacks endpoint for unlinking git hub accounts +UnlinkGithubAccount callbacks endpoint for unlinking git hub accounts */ func (a *Client) UnlinkGithubAccount(params *UnlinkGithubAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UnlinkGithubAccountOK, error) { // TODO: Validate the params before sending diff --git a/pkg/platform/api/mono/mono_client/authentication/change_password_parameters.go b/pkg/platform/api/mono/mono_client/authentication/change_password_parameters.go index 388d1c5dd3..34d833d651 100644 --- a/pkg/platform/api/mono/mono_client/authentication/change_password_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/change_password_parameters.go @@ -54,10 +54,12 @@ func NewChangePasswordParamsWithHTTPClient(client *http.Client) *ChangePasswordP } } -/* ChangePasswordParams contains all the parameters to send to the API endpoint - for the change password operation. +/* +ChangePasswordParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the change password operation. + + Typically these are written to a http.Request. */ type ChangePasswordParams struct { diff --git a/pkg/platform/api/mono/mono_client/authentication/change_password_responses.go b/pkg/platform/api/mono/mono_client/authentication/change_password_responses.go index 90bf675a23..7f9a6eab7b 100644 --- a/pkg/platform/api/mono/mono_client/authentication/change_password_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/change_password_responses.go @@ -63,7 +63,8 @@ func NewChangePasswordOK() *ChangePasswordOK { return &ChangePasswordOK{} } -/* ChangePasswordOK describes a response with status code 200, with default header values. +/* +ChangePasswordOK describes a response with status code 200, with default header values. Success */ @@ -95,7 +96,8 @@ func NewChangePasswordBadRequest() *ChangePasswordBadRequest { return &ChangePasswordBadRequest{} } -/* ChangePasswordBadRequest describes a response with status code 400, with default header values. +/* +ChangePasswordBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -127,7 +129,8 @@ func NewChangePasswordForbidden() *ChangePasswordForbidden { return &ChangePasswordForbidden{} } -/* ChangePasswordForbidden describes a response with status code 403, with default header values. +/* +ChangePasswordForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -159,7 +162,8 @@ func NewChangePasswordNotFound() *ChangePasswordNotFound { return &ChangePasswordNotFound{} } -/* ChangePasswordNotFound describes a response with status code 404, with default header values. +/* +ChangePasswordNotFound describes a response with status code 404, with default header values. Not Found */ @@ -191,7 +195,8 @@ func NewChangePasswordInternalServerError() *ChangePasswordInternalServerError { return &ChangePasswordInternalServerError{} } -/* ChangePasswordInternalServerError describes a response with status code 500, with default header values. +/* +ChangePasswordInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/authentication/delete_token_parameters.go b/pkg/platform/api/mono/mono_client/authentication/delete_token_parameters.go index ccd4b5e746..a519d48df4 100644 --- a/pkg/platform/api/mono/mono_client/authentication/delete_token_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/delete_token_parameters.go @@ -52,10 +52,12 @@ func NewDeleteTokenParamsWithHTTPClient(client *http.Client) *DeleteTokenParams } } -/* DeleteTokenParams contains all the parameters to send to the API endpoint - for the delete token operation. +/* +DeleteTokenParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the delete token operation. + + Typically these are written to a http.Request. */ type DeleteTokenParams struct { diff --git a/pkg/platform/api/mono/mono_client/authentication/delete_token_responses.go b/pkg/platform/api/mono/mono_client/authentication/delete_token_responses.go index 720763faa6..fd65900c0b 100644 --- a/pkg/platform/api/mono/mono_client/authentication/delete_token_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/delete_token_responses.go @@ -51,7 +51,8 @@ func NewDeleteTokenOK() *DeleteTokenOK { return &DeleteTokenOK{} } -/* DeleteTokenOK describes a response with status code 200, with default header values. +/* +DeleteTokenOK describes a response with status code 200, with default header values. Token deleted */ @@ -83,7 +84,8 @@ func NewDeleteTokenBadRequest() *DeleteTokenBadRequest { return &DeleteTokenBadRequest{} } -/* DeleteTokenBadRequest describes a response with status code 400, with default header values. +/* +DeleteTokenBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -115,7 +117,8 @@ func NewDeleteTokenForbidden() *DeleteTokenForbidden { return &DeleteTokenForbidden{} } -/* DeleteTokenForbidden describes a response with status code 403, with default header values. +/* +DeleteTokenForbidden describes a response with status code 403, with default header values. Forbidden */ diff --git a/pkg/platform/api/mono/mono_client/authentication/disable_t_o_t_p_parameters.go b/pkg/platform/api/mono/mono_client/authentication/disable_t_o_t_p_parameters.go index e15dce6f93..24f74b92e5 100644 --- a/pkg/platform/api/mono/mono_client/authentication/disable_t_o_t_p_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/disable_t_o_t_p_parameters.go @@ -52,10 +52,12 @@ func NewDisableTOTPParamsWithHTTPClient(client *http.Client) *DisableTOTPParams } } -/* DisableTOTPParams contains all the parameters to send to the API endpoint - for the disable t o t p operation. +/* +DisableTOTPParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the disable t o t p operation. + + Typically these are written to a http.Request. */ type DisableTOTPParams struct { timeout time.Duration diff --git a/pkg/platform/api/mono/mono_client/authentication/disable_t_o_t_p_responses.go b/pkg/platform/api/mono/mono_client/authentication/disable_t_o_t_p_responses.go index c239925ab3..e614414ff9 100644 --- a/pkg/platform/api/mono/mono_client/authentication/disable_t_o_t_p_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/disable_t_o_t_p_responses.go @@ -45,7 +45,8 @@ func NewDisableTOTPOK() *DisableTOTPOK { return &DisableTOTPOK{} } -/* DisableTOTPOK describes a response with status code 200, with default header values. +/* +DisableTOTPOK describes a response with status code 200, with default header values. Disabled TOTP */ @@ -77,7 +78,8 @@ func NewDisableTOTPBadRequest() *DisableTOTPBadRequest { return &DisableTOTPBadRequest{} } -/* DisableTOTPBadRequest describes a response with status code 400, with default header values. +/* +DisableTOTPBadRequest describes a response with status code 400, with default header values. Bad Request */ diff --git a/pkg/platform/api/mono/mono_client/authentication/enable_t_o_t_p_parameters.go b/pkg/platform/api/mono/mono_client/authentication/enable_t_o_t_p_parameters.go index 1f25dad36a..7681513acc 100644 --- a/pkg/platform/api/mono/mono_client/authentication/enable_t_o_t_p_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/enable_t_o_t_p_parameters.go @@ -52,10 +52,12 @@ func NewEnableTOTPParamsWithHTTPClient(client *http.Client) *EnableTOTPParams { } } -/* EnableTOTPParams contains all the parameters to send to the API endpoint - for the enable t o t p operation. +/* +EnableTOTPParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the enable t o t p operation. + + Typically these are written to a http.Request. */ type EnableTOTPParams struct { diff --git a/pkg/platform/api/mono/mono_client/authentication/enable_t_o_t_p_responses.go b/pkg/platform/api/mono/mono_client/authentication/enable_t_o_t_p_responses.go index a4c3138432..eaadad6ff8 100644 --- a/pkg/platform/api/mono/mono_client/authentication/enable_t_o_t_p_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/enable_t_o_t_p_responses.go @@ -45,7 +45,8 @@ func NewEnableTOTPOK() *EnableTOTPOK { return &EnableTOTPOK{} } -/* EnableTOTPOK describes a response with status code 200, with default header values. +/* +EnableTOTPOK describes a response with status code 200, with default header values. Enabled */ @@ -77,7 +78,8 @@ func NewEnableTOTPBadRequest() *EnableTOTPBadRequest { return &EnableTOTPBadRequest{} } -/* EnableTOTPBadRequest describes a response with status code 400, with default header values. +/* +EnableTOTPBadRequest describes a response with status code 400, with default header values. Bad Request */ diff --git a/pkg/platform/api/mono/mono_client/authentication/get_login_jwt_token_parameters.go b/pkg/platform/api/mono/mono_client/authentication/get_login_jwt_token_parameters.go index 238c46a751..c566acffdc 100644 --- a/pkg/platform/api/mono/mono_client/authentication/get_login_jwt_token_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/get_login_jwt_token_parameters.go @@ -52,10 +52,12 @@ func NewGetLoginJwtTokenParamsWithHTTPClient(client *http.Client) *GetLoginJwtTo } } -/* GetLoginJwtTokenParams contains all the parameters to send to the API endpoint - for the get login jwt token operation. +/* +GetLoginJwtTokenParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get login jwt token operation. + + Typically these are written to a http.Request. */ type GetLoginJwtTokenParams struct { diff --git a/pkg/platform/api/mono/mono_client/authentication/get_login_jwt_token_responses.go b/pkg/platform/api/mono/mono_client/authentication/get_login_jwt_token_responses.go index 68ab1308ed..9fe33a7462 100644 --- a/pkg/platform/api/mono/mono_client/authentication/get_login_jwt_token_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/get_login_jwt_token_responses.go @@ -51,7 +51,8 @@ func NewGetLoginJwtTokenFound() *GetLoginJwtTokenFound { return &GetLoginJwtTokenFound{} } -/* GetLoginJwtTokenFound describes a response with status code 302, with default header values. +/* +GetLoginJwtTokenFound describes a response with status code 302, with default header values. Found */ @@ -72,7 +73,8 @@ func NewGetLoginJwtTokenBadRequest() *GetLoginJwtTokenBadRequest { return &GetLoginJwtTokenBadRequest{} } -/* GetLoginJwtTokenBadRequest describes a response with status code 400, with default header values. +/* +GetLoginJwtTokenBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -104,7 +106,8 @@ func NewGetLoginJwtTokenInternalServerError() *GetLoginJwtTokenInternalServerErr return &GetLoginJwtTokenInternalServerError{} } -/* GetLoginJwtTokenInternalServerError describes a response with status code 500, with default header values. +/* +GetLoginJwtTokenInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/authentication/get_logout_parameters.go b/pkg/platform/api/mono/mono_client/authentication/get_logout_parameters.go index e01ddb42d9..386f8dca87 100644 --- a/pkg/platform/api/mono/mono_client/authentication/get_logout_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/get_logout_parameters.go @@ -52,10 +52,12 @@ func NewGetLogoutParamsWithHTTPClient(client *http.Client) *GetLogoutParams { } } -/* GetLogoutParams contains all the parameters to send to the API endpoint - for the get logout operation. +/* +GetLogoutParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get logout operation. + + Typically these are written to a http.Request. */ type GetLogoutParams struct { timeout time.Duration diff --git a/pkg/platform/api/mono/mono_client/authentication/get_logout_responses.go b/pkg/platform/api/mono/mono_client/authentication/get_logout_responses.go index 07faebb0e6..297bda8349 100644 --- a/pkg/platform/api/mono/mono_client/authentication/get_logout_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/get_logout_responses.go @@ -45,7 +45,8 @@ func NewGetLogoutNoContent() *GetLogoutNoContent { return &GetLogoutNoContent{} } -/* GetLogoutNoContent describes a response with status code 204, with default header values. +/* +GetLogoutNoContent describes a response with status code 204, with default header values. Success */ @@ -66,7 +67,8 @@ func NewGetLogoutInternalServerError() *GetLogoutInternalServerError { return &GetLogoutInternalServerError{} } -/* GetLogoutInternalServerError describes a response with status code 500, with default header values. +/* +GetLogoutInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/authentication/get_renew_parameters.go b/pkg/platform/api/mono/mono_client/authentication/get_renew_parameters.go index 38e6274043..9eb90a700e 100644 --- a/pkg/platform/api/mono/mono_client/authentication/get_renew_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/get_renew_parameters.go @@ -52,10 +52,12 @@ func NewGetRenewParamsWithHTTPClient(client *http.Client) *GetRenewParams { } } -/* GetRenewParams contains all the parameters to send to the API endpoint - for the get renew operation. +/* +GetRenewParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get renew operation. + + Typically these are written to a http.Request. */ type GetRenewParams struct { diff --git a/pkg/platform/api/mono/mono_client/authentication/get_renew_responses.go b/pkg/platform/api/mono/mono_client/authentication/get_renew_responses.go index 1b9b05cbcf..f703cc6981 100644 --- a/pkg/platform/api/mono/mono_client/authentication/get_renew_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/get_renew_responses.go @@ -51,7 +51,8 @@ func NewGetRenewOK() *GetRenewOK { return &GetRenewOK{} } -/* GetRenewOK describes a response with status code 200, with default header values. +/* +GetRenewOK describes a response with status code 200, with default header values. Success */ @@ -83,7 +84,8 @@ func NewGetRenewNotFound() *GetRenewNotFound { return &GetRenewNotFound{} } -/* GetRenewNotFound describes a response with status code 404, with default header values. +/* +GetRenewNotFound describes a response with status code 404, with default header values. Not Found */ @@ -115,7 +117,8 @@ func NewGetRenewInternalServerError() *GetRenewInternalServerError { return &GetRenewInternalServerError{} } -/* GetRenewInternalServerError describes a response with status code 500, with default header values. +/* +GetRenewInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/authentication/github_auth_error_parameters.go b/pkg/platform/api/mono/mono_client/authentication/github_auth_error_parameters.go index d9e17df86b..08f145d6fa 100644 --- a/pkg/platform/api/mono/mono_client/authentication/github_auth_error_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/github_auth_error_parameters.go @@ -52,10 +52,12 @@ func NewGithubAuthErrorParamsWithHTTPClient(client *http.Client) *GithubAuthErro } } -/* GithubAuthErrorParams contains all the parameters to send to the API endpoint - for the github auth error operation. +/* +GithubAuthErrorParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the github auth error operation. + + Typically these are written to a http.Request. */ type GithubAuthErrorParams struct { diff --git a/pkg/platform/api/mono/mono_client/authentication/github_auth_error_responses.go b/pkg/platform/api/mono/mono_client/authentication/github_auth_error_responses.go index ffe183563a..7e42097113 100644 --- a/pkg/platform/api/mono/mono_client/authentication/github_auth_error_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/github_auth_error_responses.go @@ -36,7 +36,8 @@ func NewGithubAuthErrorFound() *GithubAuthErrorFound { return &GithubAuthErrorFound{} } -/* GithubAuthErrorFound describes a response with status code 302, with default header values. +/* +GithubAuthErrorFound describes a response with status code 302, with default header values. Found */ diff --git a/pkg/platform/api/mono/mono_client/authentication/link_github_account_parameters.go b/pkg/platform/api/mono/mono_client/authentication/link_github_account_parameters.go index 0ac6fecbc1..8f42c05560 100644 --- a/pkg/platform/api/mono/mono_client/authentication/link_github_account_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/link_github_account_parameters.go @@ -52,10 +52,12 @@ func NewLinkGithubAccountParamsWithHTTPClient(client *http.Client) *LinkGithubAc } } -/* LinkGithubAccountParams contains all the parameters to send to the API endpoint - for the link github account operation. +/* +LinkGithubAccountParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the link github account operation. + + Typically these are written to a http.Request. */ type LinkGithubAccountParams struct { diff --git a/pkg/platform/api/mono/mono_client/authentication/link_github_account_responses.go b/pkg/platform/api/mono/mono_client/authentication/link_github_account_responses.go index 589bbfb052..58cfef04ea 100644 --- a/pkg/platform/api/mono/mono_client/authentication/link_github_account_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/link_github_account_responses.go @@ -36,7 +36,8 @@ func NewLinkGithubAccountFound() *LinkGithubAccountFound { return &LinkGithubAccountFound{} } -/* LinkGithubAccountFound describes a response with status code 302, with default header values. +/* +LinkGithubAccountFound describes a response with status code 302, with default header values. Found */ diff --git a/pkg/platform/api/mono/mono_client/authentication/list_tokens_parameters.go b/pkg/platform/api/mono/mono_client/authentication/list_tokens_parameters.go index 7973e9410a..3599f1f8d3 100644 --- a/pkg/platform/api/mono/mono_client/authentication/list_tokens_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/list_tokens_parameters.go @@ -52,10 +52,12 @@ func NewListTokensParamsWithHTTPClient(client *http.Client) *ListTokensParams { } } -/* ListTokensParams contains all the parameters to send to the API endpoint - for the list tokens operation. +/* +ListTokensParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the list tokens operation. + + Typically these are written to a http.Request. */ type ListTokensParams struct { timeout time.Duration diff --git a/pkg/platform/api/mono/mono_client/authentication/list_tokens_responses.go b/pkg/platform/api/mono/mono_client/authentication/list_tokens_responses.go index e73836cf67..9bf4c86fb9 100644 --- a/pkg/platform/api/mono/mono_client/authentication/list_tokens_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/list_tokens_responses.go @@ -45,7 +45,8 @@ func NewListTokensOK() *ListTokensOK { return &ListTokensOK{} } -/* ListTokensOK describes a response with status code 200, with default header values. +/* +ListTokensOK describes a response with status code 200, with default header values. Success */ @@ -75,7 +76,8 @@ func NewListTokensInternalServerError() *ListTokensInternalServerError { return &ListTokensInternalServerError{} } -/* ListTokensInternalServerError describes a response with status code 500, with default header values. +/* +ListTokensInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/authentication/login_as_parameters.go b/pkg/platform/api/mono/mono_client/authentication/login_as_parameters.go index db433f652b..d22312901a 100644 --- a/pkg/platform/api/mono/mono_client/authentication/login_as_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/login_as_parameters.go @@ -52,10 +52,12 @@ func NewLoginAsParamsWithHTTPClient(client *http.Client) *LoginAsParams { } } -/* LoginAsParams contains all the parameters to send to the API endpoint - for the login as operation. +/* +LoginAsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the login as operation. + + Typically these are written to a http.Request. */ type LoginAsParams struct { diff --git a/pkg/platform/api/mono/mono_client/authentication/login_as_responses.go b/pkg/platform/api/mono/mono_client/authentication/login_as_responses.go index 6c063230a5..c79a503320 100644 --- a/pkg/platform/api/mono/mono_client/authentication/login_as_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/login_as_responses.go @@ -57,7 +57,8 @@ func NewLoginAsOK() *LoginAsOK { return &LoginAsOK{} } -/* LoginAsOK describes a response with status code 200, with default header values. +/* +LoginAsOK describes a response with status code 200, with default header values. Success */ @@ -89,7 +90,8 @@ func NewLoginAsBadRequest() *LoginAsBadRequest { return &LoginAsBadRequest{} } -/* LoginAsBadRequest describes a response with status code 400, with default header values. +/* +LoginAsBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -121,7 +123,8 @@ func NewLoginAsUnauthorized() *LoginAsUnauthorized { return &LoginAsUnauthorized{} } -/* LoginAsUnauthorized describes a response with status code 401, with default header values. +/* +LoginAsUnauthorized describes a response with status code 401, with default header values. Invalid credentials */ @@ -153,7 +156,8 @@ func NewLoginAsInternalServerError() *LoginAsInternalServerError { return &LoginAsInternalServerError{} } -/* LoginAsInternalServerError describes a response with status code 500, with default header values. +/* +LoginAsInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/authentication/login_with_github_parameters.go b/pkg/platform/api/mono/mono_client/authentication/login_with_github_parameters.go index f34cf506e3..6f8de9e870 100644 --- a/pkg/platform/api/mono/mono_client/authentication/login_with_github_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/login_with_github_parameters.go @@ -52,10 +52,12 @@ func NewLoginWithGithubParamsWithHTTPClient(client *http.Client) *LoginWithGithu } } -/* LoginWithGithubParams contains all the parameters to send to the API endpoint - for the login with github operation. +/* +LoginWithGithubParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the login with github operation. + + Typically these are written to a http.Request. */ type LoginWithGithubParams struct { diff --git a/pkg/platform/api/mono/mono_client/authentication/login_with_github_responses.go b/pkg/platform/api/mono/mono_client/authentication/login_with_github_responses.go index 3db90893f4..2f152d5915 100644 --- a/pkg/platform/api/mono/mono_client/authentication/login_with_github_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/login_with_github_responses.go @@ -36,7 +36,8 @@ func NewLoginWithGithubFound() *LoginWithGithubFound { return &LoginWithGithubFound{} } -/* LoginWithGithubFound describes a response with status code 302, with default header values. +/* +LoginWithGithubFound describes a response with status code 302, with default header values. Found */ diff --git a/pkg/platform/api/mono/mono_client/authentication/new_t_o_t_p_parameters.go b/pkg/platform/api/mono/mono_client/authentication/new_t_o_t_p_parameters.go index 2a260073c7..049a2d241d 100644 --- a/pkg/platform/api/mono/mono_client/authentication/new_t_o_t_p_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/new_t_o_t_p_parameters.go @@ -52,10 +52,12 @@ func NewNewTOTPParamsWithHTTPClient(client *http.Client) *NewTOTPParams { } } -/* NewTOTPParams contains all the parameters to send to the API endpoint - for the new t o t p operation. +/* +NewTOTPParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the new t o t p operation. + + Typically these are written to a http.Request. */ type NewTOTPParams struct { timeout time.Duration diff --git a/pkg/platform/api/mono/mono_client/authentication/new_t_o_t_p_responses.go b/pkg/platform/api/mono/mono_client/authentication/new_t_o_t_p_responses.go index 0930712128..74d3a6a84f 100644 --- a/pkg/platform/api/mono/mono_client/authentication/new_t_o_t_p_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/new_t_o_t_p_responses.go @@ -45,7 +45,8 @@ func NewNewTOTPOK() *NewTOTPOK { return &NewTOTPOK{} } -/* NewTOTPOK describes a response with status code 200, with default header values. +/* +NewTOTPOK describes a response with status code 200, with default header values. New TOTP Key */ @@ -77,7 +78,8 @@ func NewNewTOTPBadRequest() *NewTOTPBadRequest { return &NewTOTPBadRequest{} } -/* NewTOTPBadRequest describes a response with status code 400, with default header values. +/* +NewTOTPBadRequest describes a response with status code 400, with default header values. Bad Request */ diff --git a/pkg/platform/api/mono/mono_client/authentication/post_login_parameters.go b/pkg/platform/api/mono/mono_client/authentication/post_login_parameters.go index 9c7de575b3..bf56c27b92 100644 --- a/pkg/platform/api/mono/mono_client/authentication/post_login_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/post_login_parameters.go @@ -54,10 +54,12 @@ func NewPostLoginParamsWithHTTPClient(client *http.Client) *PostLoginParams { } } -/* PostLoginParams contains all the parameters to send to the API endpoint - for the post login operation. +/* +PostLoginParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the post login operation. + + Typically these are written to a http.Request. */ type PostLoginParams struct { diff --git a/pkg/platform/api/mono/mono_client/authentication/post_login_responses.go b/pkg/platform/api/mono/mono_client/authentication/post_login_responses.go index d2ca991833..381a40105e 100644 --- a/pkg/platform/api/mono/mono_client/authentication/post_login_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/post_login_responses.go @@ -63,7 +63,8 @@ func NewPostLoginOK() *PostLoginOK { return &PostLoginOK{} } -/* PostLoginOK describes a response with status code 200, with default header values. +/* +PostLoginOK describes a response with status code 200, with default header values. Success */ @@ -95,7 +96,8 @@ func NewPostLoginBadRequest() *PostLoginBadRequest { return &PostLoginBadRequest{} } -/* PostLoginBadRequest describes a response with status code 400, with default header values. +/* +PostLoginBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -127,7 +129,8 @@ func NewPostLoginUnauthorized() *PostLoginUnauthorized { return &PostLoginUnauthorized{} } -/* PostLoginUnauthorized describes a response with status code 401, with default header values. +/* +PostLoginUnauthorized describes a response with status code 401, with default header values. Invalid credentials */ @@ -159,7 +162,8 @@ func NewPostLoginRetryWith() *PostLoginRetryWith { return &PostLoginRetryWith{} } -/* PostLoginRetryWith describes a response with status code 449, with default header values. +/* +PostLoginRetryWith describes a response with status code 449, with default header values. TOTP Required */ @@ -191,7 +195,8 @@ func NewPostLoginInternalServerError() *PostLoginInternalServerError { return &PostLoginInternalServerError{} } -/* PostLoginInternalServerError describes a response with status code 500, with default header values. +/* +PostLoginInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/authentication/request_reset_parameters.go b/pkg/platform/api/mono/mono_client/authentication/request_reset_parameters.go index 034a73ecde..81f415b6c0 100644 --- a/pkg/platform/api/mono/mono_client/authentication/request_reset_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/request_reset_parameters.go @@ -52,10 +52,12 @@ func NewRequestResetParamsWithHTTPClient(client *http.Client) *RequestResetParam } } -/* RequestResetParams contains all the parameters to send to the API endpoint - for the request reset operation. +/* +RequestResetParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the request reset operation. + + Typically these are written to a http.Request. */ type RequestResetParams struct { diff --git a/pkg/platform/api/mono/mono_client/authentication/request_reset_responses.go b/pkg/platform/api/mono/mono_client/authentication/request_reset_responses.go index 5bc62b8033..907731a155 100644 --- a/pkg/platform/api/mono/mono_client/authentication/request_reset_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/request_reset_responses.go @@ -51,7 +51,8 @@ func NewRequestResetOK() *RequestResetOK { return &RequestResetOK{} } -/* RequestResetOK describes a response with status code 200, with default header values. +/* +RequestResetOK describes a response with status code 200, with default header values. Success */ @@ -83,7 +84,8 @@ func NewRequestResetBadRequest() *RequestResetBadRequest { return &RequestResetBadRequest{} } -/* RequestResetBadRequest describes a response with status code 400, with default header values. +/* +RequestResetBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -115,7 +117,8 @@ func NewRequestResetInternalServerError() *RequestResetInternalServerError { return &RequestResetInternalServerError{} } -/* RequestResetInternalServerError describes a response with status code 500, with default header values. +/* +RequestResetInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/authentication/reset_password_parameters.go b/pkg/platform/api/mono/mono_client/authentication/reset_password_parameters.go index dae60224bc..675e72fa34 100644 --- a/pkg/platform/api/mono/mono_client/authentication/reset_password_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/reset_password_parameters.go @@ -54,10 +54,12 @@ func NewResetPasswordParamsWithHTTPClient(client *http.Client) *ResetPasswordPar } } -/* ResetPasswordParams contains all the parameters to send to the API endpoint - for the reset password operation. +/* +ResetPasswordParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the reset password operation. + + Typically these are written to a http.Request. */ type ResetPasswordParams struct { diff --git a/pkg/platform/api/mono/mono_client/authentication/reset_password_responses.go b/pkg/platform/api/mono/mono_client/authentication/reset_password_responses.go index 9a61dcb53b..8c616bbc7c 100644 --- a/pkg/platform/api/mono/mono_client/authentication/reset_password_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/reset_password_responses.go @@ -57,7 +57,8 @@ func NewResetPasswordOK() *ResetPasswordOK { return &ResetPasswordOK{} } -/* ResetPasswordOK describes a response with status code 200, with default header values. +/* +ResetPasswordOK describes a response with status code 200, with default header values. Success */ @@ -89,7 +90,8 @@ func NewResetPasswordBadRequest() *ResetPasswordBadRequest { return &ResetPasswordBadRequest{} } -/* ResetPasswordBadRequest describes a response with status code 400, with default header values. +/* +ResetPasswordBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -121,7 +123,8 @@ func NewResetPasswordForbidden() *ResetPasswordForbidden { return &ResetPasswordForbidden{} } -/* ResetPasswordForbidden describes a response with status code 403, with default header values. +/* +ResetPasswordForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -153,7 +156,8 @@ func NewResetPasswordInternalServerError() *ResetPasswordInternalServerError { return &ResetPasswordInternalServerError{} } -/* ResetPasswordInternalServerError describes a response with status code 500, with default header values. +/* +ResetPasswordInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/authentication/signup_with_github_parameters.go b/pkg/platform/api/mono/mono_client/authentication/signup_with_github_parameters.go index 67c109fc2b..4f7fa479a5 100644 --- a/pkg/platform/api/mono/mono_client/authentication/signup_with_github_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/signup_with_github_parameters.go @@ -52,10 +52,12 @@ func NewSignupWithGithubParamsWithHTTPClient(client *http.Client) *SignupWithGit } } -/* SignupWithGithubParams contains all the parameters to send to the API endpoint - for the signup with github operation. +/* +SignupWithGithubParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the signup with github operation. + + Typically these are written to a http.Request. */ type SignupWithGithubParams struct { diff --git a/pkg/platform/api/mono/mono_client/authentication/signup_with_github_responses.go b/pkg/platform/api/mono/mono_client/authentication/signup_with_github_responses.go index 0eede3aedd..62435bc463 100644 --- a/pkg/platform/api/mono/mono_client/authentication/signup_with_github_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/signup_with_github_responses.go @@ -36,7 +36,8 @@ func NewSignupWithGithubFound() *SignupWithGithubFound { return &SignupWithGithubFound{} } -/* SignupWithGithubFound describes a response with status code 302, with default header values. +/* +SignupWithGithubFound describes a response with status code 302, with default header values. Found */ diff --git a/pkg/platform/api/mono/mono_client/authentication/unlink_github_account_parameters.go b/pkg/platform/api/mono/mono_client/authentication/unlink_github_account_parameters.go index 96edad5e49..89c67dd929 100644 --- a/pkg/platform/api/mono/mono_client/authentication/unlink_github_account_parameters.go +++ b/pkg/platform/api/mono/mono_client/authentication/unlink_github_account_parameters.go @@ -52,10 +52,12 @@ func NewUnlinkGithubAccountParamsWithHTTPClient(client *http.Client) *UnlinkGith } } -/* UnlinkGithubAccountParams contains all the parameters to send to the API endpoint - for the unlink github account operation. +/* +UnlinkGithubAccountParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the unlink github account operation. + + Typically these are written to a http.Request. */ type UnlinkGithubAccountParams struct { timeout time.Duration diff --git a/pkg/platform/api/mono/mono_client/authentication/unlink_github_account_responses.go b/pkg/platform/api/mono/mono_client/authentication/unlink_github_account_responses.go index 6f03d05f03..a2ad8f4ae1 100644 --- a/pkg/platform/api/mono/mono_client/authentication/unlink_github_account_responses.go +++ b/pkg/platform/api/mono/mono_client/authentication/unlink_github_account_responses.go @@ -42,7 +42,8 @@ func NewUnlinkGithubAccountOK() *UnlinkGithubAccountOK { return &UnlinkGithubAccountOK{} } -/* UnlinkGithubAccountOK describes a response with status code 200, with default header values. +/* +UnlinkGithubAccountOK describes a response with status code 200, with default header values. Success */ @@ -63,7 +64,8 @@ func NewUnlinkGithubAccountForbidden() *UnlinkGithubAccountForbidden { return &UnlinkGithubAccountForbidden{} } -/* UnlinkGithubAccountForbidden describes a response with status code 403, with default header values. +/* +UnlinkGithubAccountForbidden describes a response with status code 403, with default header values. Not found */ diff --git a/pkg/platform/api/mono/mono_client/github/get_logins_and_repos_parameters.go b/pkg/platform/api/mono/mono_client/github/get_logins_and_repos_parameters.go index 5da589af91..50744feaac 100644 --- a/pkg/platform/api/mono/mono_client/github/get_logins_and_repos_parameters.go +++ b/pkg/platform/api/mono/mono_client/github/get_logins_and_repos_parameters.go @@ -52,10 +52,12 @@ func NewGetLoginsAndReposParamsWithHTTPClient(client *http.Client) *GetLoginsAnd } } -/* GetLoginsAndReposParams contains all the parameters to send to the API endpoint - for the get logins and repos operation. +/* +GetLoginsAndReposParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get logins and repos operation. + + Typically these are written to a http.Request. */ type GetLoginsAndReposParams struct { timeout time.Duration diff --git a/pkg/platform/api/mono/mono_client/github/get_logins_and_repos_responses.go b/pkg/platform/api/mono/mono_client/github/get_logins_and_repos_responses.go index b87083e0d6..ac8dbdd6d1 100644 --- a/pkg/platform/api/mono/mono_client/github/get_logins_and_repos_responses.go +++ b/pkg/platform/api/mono/mono_client/github/get_logins_and_repos_responses.go @@ -57,7 +57,8 @@ func NewGetLoginsAndReposOK() *GetLoginsAndReposOK { return &GetLoginsAndReposOK{} } -/* GetLoginsAndReposOK describes a response with status code 200, with default header values. +/* +GetLoginsAndReposOK describes a response with status code 200, with default header values. Success */ @@ -87,7 +88,8 @@ func NewGetLoginsAndReposBadRequest() *GetLoginsAndReposBadRequest { return &GetLoginsAndReposBadRequest{} } -/* GetLoginsAndReposBadRequest describes a response with status code 400, with default header values. +/* +GetLoginsAndReposBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -119,7 +121,8 @@ func NewGetLoginsAndReposForbidden() *GetLoginsAndReposForbidden { return &GetLoginsAndReposForbidden{} } -/* GetLoginsAndReposForbidden describes a response with status code 403, with default header values. +/* +GetLoginsAndReposForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -151,7 +154,8 @@ func NewGetLoginsAndReposInternalServerError() *GetLoginsAndReposInternalServerE return &GetLoginsAndReposInternalServerError{} } -/* GetLoginsAndReposInternalServerError describes a response with status code 500, with default header values. +/* +GetLoginsAndReposInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/github/get_repo_requirements_parameters.go b/pkg/platform/api/mono/mono_client/github/get_repo_requirements_parameters.go index 1d6707f759..5ef204beb5 100644 --- a/pkg/platform/api/mono/mono_client/github/get_repo_requirements_parameters.go +++ b/pkg/platform/api/mono/mono_client/github/get_repo_requirements_parameters.go @@ -52,10 +52,12 @@ func NewGetRepoRequirementsParamsWithHTTPClient(client *http.Client) *GetRepoReq } } -/* GetRepoRequirementsParams contains all the parameters to send to the API endpoint - for the get repo requirements operation. +/* +GetRepoRequirementsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get repo requirements operation. + + Typically these are written to a http.Request. */ type GetRepoRequirementsParams struct { diff --git a/pkg/platform/api/mono/mono_client/github/get_repo_requirements_responses.go b/pkg/platform/api/mono/mono_client/github/get_repo_requirements_responses.go index 0398bc9f6c..f69d61abbb 100644 --- a/pkg/platform/api/mono/mono_client/github/get_repo_requirements_responses.go +++ b/pkg/platform/api/mono/mono_client/github/get_repo_requirements_responses.go @@ -57,7 +57,8 @@ func NewGetRepoRequirementsOK() *GetRepoRequirementsOK { return &GetRepoRequirementsOK{} } -/* GetRepoRequirementsOK describes a response with status code 200, with default header values. +/* +GetRepoRequirementsOK describes a response with status code 200, with default header values. Success */ @@ -87,7 +88,8 @@ func NewGetRepoRequirementsBadRequest() *GetRepoRequirementsBadRequest { return &GetRepoRequirementsBadRequest{} } -/* GetRepoRequirementsBadRequest describes a response with status code 400, with default header values. +/* +GetRepoRequirementsBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -119,7 +121,8 @@ func NewGetRepoRequirementsForbidden() *GetRepoRequirementsForbidden { return &GetRepoRequirementsForbidden{} } -/* GetRepoRequirementsForbidden describes a response with status code 403, with default header values. +/* +GetRepoRequirementsForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -151,7 +154,8 @@ func NewGetRepoRequirementsInternalServerError() *GetRepoRequirementsInternalSer return &GetRepoRequirementsInternalServerError{} } -/* GetRepoRequirementsInternalServerError describes a response with status code 500, with default header values. +/* +GetRepoRequirementsInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/github/github_client.go b/pkg/platform/api/mono/mono_client/github/github_client.go index 6d47898feb..9c199ee82a 100644 --- a/pkg/platform/api/mono/mono_client/github/github_client.go +++ b/pkg/platform/api/mono/mono_client/github/github_client.go @@ -38,7 +38,7 @@ type ClientService interface { } /* - GetLoginsAndRepos retrieves available repos from github for authenticated user m u s t have git authentication enabled in the platform +GetLoginsAndRepos retrieves available repos from github for authenticated user m u s t have git authentication enabled in the platform */ func (a *Client) GetLoginsAndRepos(params *GetLoginsAndReposParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLoginsAndReposOK, error) { // TODO: Validate the params before sending @@ -77,7 +77,7 @@ func (a *Client) GetLoginsAndRepos(params *GetLoginsAndReposParams, authInfo run } /* - GetRepoRequirements gets list of supported languages and their required packages parsed from the repo +GetRepoRequirements gets list of supported languages and their required packages parsed from the repo */ func (a *Client) GetRepoRequirements(params *GetRepoRequirementsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRepoRequirementsOK, error) { // TODO: Validate the params before sending diff --git a/pkg/platform/api/mono/mono_client/invoices/calculate_tax_parameters.go b/pkg/platform/api/mono/mono_client/invoices/calculate_tax_parameters.go index b08d04983f..9e0d5cbc7d 100644 --- a/pkg/platform/api/mono/mono_client/invoices/calculate_tax_parameters.go +++ b/pkg/platform/api/mono/mono_client/invoices/calculate_tax_parameters.go @@ -54,10 +54,12 @@ func NewCalculateTaxParamsWithHTTPClient(client *http.Client) *CalculateTaxParam } } -/* CalculateTaxParams contains all the parameters to send to the API endpoint - for the calculate tax operation. +/* +CalculateTaxParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the calculate tax operation. + + Typically these are written to a http.Request. */ type CalculateTaxParams struct { diff --git a/pkg/platform/api/mono/mono_client/invoices/calculate_tax_responses.go b/pkg/platform/api/mono/mono_client/invoices/calculate_tax_responses.go index bc97847762..1e7eceab60 100644 --- a/pkg/platform/api/mono/mono_client/invoices/calculate_tax_responses.go +++ b/pkg/platform/api/mono/mono_client/invoices/calculate_tax_responses.go @@ -57,7 +57,8 @@ func NewCalculateTaxOK() *CalculateTaxOK { return &CalculateTaxOK{} } -/* CalculateTaxOK describes a response with status code 200, with default header values. +/* +CalculateTaxOK describes a response with status code 200, with default header values. Success */ @@ -87,7 +88,8 @@ func NewCalculateTaxBadRequest() *CalculateTaxBadRequest { return &CalculateTaxBadRequest{} } -/* CalculateTaxBadRequest describes a response with status code 400, with default header values. +/* +CalculateTaxBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -119,7 +121,8 @@ func NewCalculateTaxForbidden() *CalculateTaxForbidden { return &CalculateTaxForbidden{} } -/* CalculateTaxForbidden describes a response with status code 403, with default header values. +/* +CalculateTaxForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -151,7 +154,8 @@ func NewCalculateTaxInternalServerError() *CalculateTaxInternalServerError { return &CalculateTaxInternalServerError{} } -/* CalculateTaxInternalServerError describes a response with status code 500, with default header values. +/* +CalculateTaxInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/invoices/cancel_subscription_parameters.go b/pkg/platform/api/mono/mono_client/invoices/cancel_subscription_parameters.go index 4832326814..e9ddfb37a4 100644 --- a/pkg/platform/api/mono/mono_client/invoices/cancel_subscription_parameters.go +++ b/pkg/platform/api/mono/mono_client/invoices/cancel_subscription_parameters.go @@ -52,10 +52,12 @@ func NewCancelSubscriptionParamsWithHTTPClient(client *http.Client) *CancelSubsc } } -/* CancelSubscriptionParams contains all the parameters to send to the API endpoint - for the cancel subscription operation. +/* +CancelSubscriptionParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the cancel subscription operation. + + Typically these are written to a http.Request. */ type CancelSubscriptionParams struct { diff --git a/pkg/platform/api/mono/mono_client/invoices/cancel_subscription_responses.go b/pkg/platform/api/mono/mono_client/invoices/cancel_subscription_responses.go index 7df68a7ef1..0c74e038af 100644 --- a/pkg/platform/api/mono/mono_client/invoices/cancel_subscription_responses.go +++ b/pkg/platform/api/mono/mono_client/invoices/cancel_subscription_responses.go @@ -63,7 +63,8 @@ func NewCancelSubscriptionOK() *CancelSubscriptionOK { return &CancelSubscriptionOK{} } -/* CancelSubscriptionOK describes a response with status code 200, with default header values. +/* +CancelSubscriptionOK describes a response with status code 200, with default header values. Success */ @@ -93,7 +94,8 @@ func NewCancelSubscriptionBadRequest() *CancelSubscriptionBadRequest { return &CancelSubscriptionBadRequest{} } -/* CancelSubscriptionBadRequest describes a response with status code 400, with default header values. +/* +CancelSubscriptionBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -125,7 +127,8 @@ func NewCancelSubscriptionForbidden() *CancelSubscriptionForbidden { return &CancelSubscriptionForbidden{} } -/* CancelSubscriptionForbidden describes a response with status code 403, with default header values. +/* +CancelSubscriptionForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -157,7 +160,8 @@ func NewCancelSubscriptionNotFound() *CancelSubscriptionNotFound { return &CancelSubscriptionNotFound{} } -/* CancelSubscriptionNotFound describes a response with status code 404, with default header values. +/* +CancelSubscriptionNotFound describes a response with status code 404, with default header values. Not Found */ @@ -189,7 +193,8 @@ func NewCancelSubscriptionInternalServerError() *CancelSubscriptionInternalServe return &CancelSubscriptionInternalServerError{} } -/* CancelSubscriptionInternalServerError describes a response with status code 500, with default header values. +/* +CancelSubscriptionInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/invoices/create_invoice_parameters.go b/pkg/platform/api/mono/mono_client/invoices/create_invoice_parameters.go index 0932e2ffdd..59929c3414 100644 --- a/pkg/platform/api/mono/mono_client/invoices/create_invoice_parameters.go +++ b/pkg/platform/api/mono/mono_client/invoices/create_invoice_parameters.go @@ -54,10 +54,12 @@ func NewCreateInvoiceParamsWithHTTPClient(client *http.Client) *CreateInvoicePar } } -/* CreateInvoiceParams contains all the parameters to send to the API endpoint - for the create invoice operation. +/* +CreateInvoiceParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the create invoice operation. + + Typically these are written to a http.Request. */ type CreateInvoiceParams struct { diff --git a/pkg/platform/api/mono/mono_client/invoices/create_invoice_responses.go b/pkg/platform/api/mono/mono_client/invoices/create_invoice_responses.go index c2cfcfc7ee..9054b28abd 100644 --- a/pkg/platform/api/mono/mono_client/invoices/create_invoice_responses.go +++ b/pkg/platform/api/mono/mono_client/invoices/create_invoice_responses.go @@ -63,7 +63,8 @@ func NewCreateInvoiceOK() *CreateInvoiceOK { return &CreateInvoiceOK{} } -/* CreateInvoiceOK describes a response with status code 200, with default header values. +/* +CreateInvoiceOK describes a response with status code 200, with default header values. Success */ @@ -93,7 +94,8 @@ func NewCreateInvoiceBadRequest() *CreateInvoiceBadRequest { return &CreateInvoiceBadRequest{} } -/* CreateInvoiceBadRequest describes a response with status code 400, with default header values. +/* +CreateInvoiceBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -125,7 +127,8 @@ func NewCreateInvoiceForbidden() *CreateInvoiceForbidden { return &CreateInvoiceForbidden{} } -/* CreateInvoiceForbidden describes a response with status code 403, with default header values. +/* +CreateInvoiceForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -157,7 +160,8 @@ func NewCreateInvoiceNotFound() *CreateInvoiceNotFound { return &CreateInvoiceNotFound{} } -/* CreateInvoiceNotFound describes a response with status code 404, with default header values. +/* +CreateInvoiceNotFound describes a response with status code 404, with default header values. Not Found */ @@ -189,7 +193,8 @@ func NewCreateInvoiceInternalServerError() *CreateInvoiceInternalServerError { return &CreateInvoiceInternalServerError{} } -/* CreateInvoiceInternalServerError describes a response with status code 500, with default header values. +/* +CreateInvoiceInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/invoices/invoices_client.go b/pkg/platform/api/mono/mono_client/invoices/invoices_client.go index 341b99375c..a27fdd442b 100644 --- a/pkg/platform/api/mono/mono_client/invoices/invoices_client.go +++ b/pkg/platform/api/mono/mono_client/invoices/invoices_client.go @@ -40,7 +40,7 @@ type ClientService interface { } /* - CalculateTax calculates the tax for the given address and options +CalculateTax calculates the tax for the given address and options */ func (a *Client) CalculateTax(params *CalculateTaxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CalculateTaxOK, error) { // TODO: Validate the params before sending @@ -79,9 +79,9 @@ func (a *Client) CalculateTax(params *CalculateTaxParams, authInfo runtime.Clien } /* - CancelSubscription cancels trial +CancelSubscription cancels trial - Cancels the organization's paid tier trial; at the end of the trial period, paid tier access will end instead of starting a paid subscription. +Cancels the organization's paid tier trial; at the end of the trial period, paid tier access will end instead of starting a paid subscription. */ func (a *Client) CancelSubscription(params *CancelSubscriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CancelSubscriptionOK, error) { // TODO: Validate the params before sending @@ -120,9 +120,9 @@ func (a *Client) CancelSubscription(params *CancelSubscriptionParams, authInfo r } /* - CreateInvoice creates new invoice +CreateInvoice creates new invoice - Creates a new invoice for the organization +Creates a new invoice for the organization */ func (a *Client) CreateInvoice(params *CreateInvoiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateInvoiceOK, error) { // TODO: Validate the params before sending diff --git a/pkg/platform/api/mono/mono_client/limits/get_organization_limits_parameters.go b/pkg/platform/api/mono/mono_client/limits/get_organization_limits_parameters.go index 38e3d5f1ca..bf5a6a6687 100644 --- a/pkg/platform/api/mono/mono_client/limits/get_organization_limits_parameters.go +++ b/pkg/platform/api/mono/mono_client/limits/get_organization_limits_parameters.go @@ -52,10 +52,12 @@ func NewGetOrganizationLimitsParamsWithHTTPClient(client *http.Client) *GetOrgan } } -/* GetOrganizationLimitsParams contains all the parameters to send to the API endpoint - for the get organization limits operation. +/* +GetOrganizationLimitsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get organization limits operation. + + Typically these are written to a http.Request. */ type GetOrganizationLimitsParams struct { diff --git a/pkg/platform/api/mono/mono_client/limits/get_organization_limits_responses.go b/pkg/platform/api/mono/mono_client/limits/get_organization_limits_responses.go index ff608f2b79..349e5288c1 100644 --- a/pkg/platform/api/mono/mono_client/limits/get_organization_limits_responses.go +++ b/pkg/platform/api/mono/mono_client/limits/get_organization_limits_responses.go @@ -57,7 +57,8 @@ func NewGetOrganizationLimitsOK() *GetOrganizationLimitsOK { return &GetOrganizationLimitsOK{} } -/* GetOrganizationLimitsOK describes a response with status code 200, with default header values. +/* +GetOrganizationLimitsOK describes a response with status code 200, with default header values. Success */ @@ -89,7 +90,8 @@ func NewGetOrganizationLimitsForbidden() *GetOrganizationLimitsForbidden { return &GetOrganizationLimitsForbidden{} } -/* GetOrganizationLimitsForbidden describes a response with status code 403, with default header values. +/* +GetOrganizationLimitsForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -121,7 +123,8 @@ func NewGetOrganizationLimitsNotFound() *GetOrganizationLimitsNotFound { return &GetOrganizationLimitsNotFound{} } -/* GetOrganizationLimitsNotFound describes a response with status code 404, with default header values. +/* +GetOrganizationLimitsNotFound describes a response with status code 404, with default header values. Not Found */ @@ -153,7 +156,8 @@ func NewGetOrganizationLimitsInternalServerError() *GetOrganizationLimitsInterna return &GetOrganizationLimitsInternalServerError{} } -/* GetOrganizationLimitsInternalServerError describes a response with status code 500, with default header values. +/* +GetOrganizationLimitsInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/limits/limits_client.go b/pkg/platform/api/mono/mono_client/limits/limits_client.go index 7f1d4fff90..49ff3caea9 100644 --- a/pkg/platform/api/mono/mono_client/limits/limits_client.go +++ b/pkg/platform/api/mono/mono_client/limits/limits_client.go @@ -36,9 +36,9 @@ type ClientService interface { } /* - GetOrganizationLimits organizations limitations +GetOrganizationLimits organizations limitations - Returns the limitations that apply to the org (inherited from their tier) +Returns the limitations that apply to the org (inherited from their tier) */ func (a *Client) GetOrganizationLimits(params *GetOrganizationLimitsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationLimitsOK, error) { // TODO: Validate the params before sending diff --git a/pkg/platform/api/mono/mono_client/oauth/auth_device_get_parameters.go b/pkg/platform/api/mono/mono_client/oauth/auth_device_get_parameters.go index d3ba2add47..57388ce055 100644 --- a/pkg/platform/api/mono/mono_client/oauth/auth_device_get_parameters.go +++ b/pkg/platform/api/mono/mono_client/oauth/auth_device_get_parameters.go @@ -52,10 +52,12 @@ func NewAuthDeviceGetParamsWithHTTPClient(client *http.Client) *AuthDeviceGetPar } } -/* AuthDeviceGetParams contains all the parameters to send to the API endpoint - for the auth device get operation. +/* +AuthDeviceGetParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the auth device get operation. + + Typically these are written to a http.Request. */ type AuthDeviceGetParams struct { diff --git a/pkg/platform/api/mono/mono_client/oauth/auth_device_get_responses.go b/pkg/platform/api/mono/mono_client/oauth/auth_device_get_responses.go index 70d6f558c3..faa6d595fd 100644 --- a/pkg/platform/api/mono/mono_client/oauth/auth_device_get_responses.go +++ b/pkg/platform/api/mono/mono_client/oauth/auth_device_get_responses.go @@ -56,7 +56,8 @@ func NewAuthDeviceGetOK() *AuthDeviceGetOK { return &AuthDeviceGetOK{} } -/* AuthDeviceGetOK describes a response with status code 200, with default header values. +/* +AuthDeviceGetOK describes a response with status code 200, with default header values. Success */ @@ -88,13 +89,14 @@ func NewAuthDeviceGetBadRequest() *AuthDeviceGetBadRequest { return &AuthDeviceGetBadRequest{} } -/* AuthDeviceGetBadRequest describes a response with status code 400, with default header values. +/* + AuthDeviceGetBadRequest describes a response with status code 400, with default header values. + + authorization_pending: The authorization request is still pending as the end user hasn't yet completed the user-interaction steps - authorization_pending: The authorization request is still pending as the end user hasn't yet completed the user-interaction steps slow_down: A variant of "authorization_pending", the authorization request is still pending and polling should continue, but the interval MUST be increased by 5 seconds for this and all subsequent requests. expired_token: The "device_code" has expired, and the device authorization session has concluded. The only error key that the client MUST stop making requests after is 'expired_token'. - */ type AuthDeviceGetBadRequest struct { Payload *AuthDeviceGetBadRequestBody @@ -124,7 +126,8 @@ func NewAuthDeviceGetInternalServerError() *AuthDeviceGetInternalServerError { return &AuthDeviceGetInternalServerError{} } -/* AuthDeviceGetInternalServerError describes a response with status code 500, with default header values. +/* +AuthDeviceGetInternalServerError describes a response with status code 500, with default header values. Server Error */ @@ -151,7 +154,8 @@ func (o *AuthDeviceGetInternalServerError) readResponse(response runtime.ClientR return nil } -/*AuthDeviceGetBadRequestBody auth device get bad request body +/* +AuthDeviceGetBadRequestBody auth device get bad request body swagger:model AuthDeviceGetBadRequestBody */ type AuthDeviceGetBadRequestBody struct { diff --git a/pkg/platform/api/mono/mono_client/oauth/auth_device_post_parameters.go b/pkg/platform/api/mono/mono_client/oauth/auth_device_post_parameters.go index 0d07e4c34a..857ed763d5 100644 --- a/pkg/platform/api/mono/mono_client/oauth/auth_device_post_parameters.go +++ b/pkg/platform/api/mono/mono_client/oauth/auth_device_post_parameters.go @@ -52,10 +52,12 @@ func NewAuthDevicePostParamsWithHTTPClient(client *http.Client) *AuthDevicePostP } } -/* AuthDevicePostParams contains all the parameters to send to the API endpoint - for the auth device post operation. +/* +AuthDevicePostParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the auth device post operation. + + Typically these are written to a http.Request. */ type AuthDevicePostParams struct { diff --git a/pkg/platform/api/mono/mono_client/oauth/auth_device_post_responses.go b/pkg/platform/api/mono/mono_client/oauth/auth_device_post_responses.go index ea726f4c49..1a60b4b4f8 100644 --- a/pkg/platform/api/mono/mono_client/oauth/auth_device_post_responses.go +++ b/pkg/platform/api/mono/mono_client/oauth/auth_device_post_responses.go @@ -45,7 +45,8 @@ func NewAuthDevicePostOK() *AuthDevicePostOK { return &AuthDevicePostOK{} } -/* AuthDevicePostOK describes a response with status code 200, with default header values. +/* +AuthDevicePostOK describes a response with status code 200, with default header values. Success */ @@ -77,7 +78,8 @@ func NewAuthDevicePostInternalServerError() *AuthDevicePostInternalServerError { return &AuthDevicePostInternalServerError{} } -/* AuthDevicePostInternalServerError describes a response with status code 500, with default header values. +/* +AuthDevicePostInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/oauth/auth_device_put_parameters.go b/pkg/platform/api/mono/mono_client/oauth/auth_device_put_parameters.go index af60811b69..be759e031d 100644 --- a/pkg/platform/api/mono/mono_client/oauth/auth_device_put_parameters.go +++ b/pkg/platform/api/mono/mono_client/oauth/auth_device_put_parameters.go @@ -52,10 +52,12 @@ func NewAuthDevicePutParamsWithHTTPClient(client *http.Client) *AuthDevicePutPar } } -/* AuthDevicePutParams contains all the parameters to send to the API endpoint - for the auth device put operation. +/* +AuthDevicePutParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the auth device put operation. + + Typically these are written to a http.Request. */ type AuthDevicePutParams struct { diff --git a/pkg/platform/api/mono/mono_client/oauth/auth_device_put_responses.go b/pkg/platform/api/mono/mono_client/oauth/auth_device_put_responses.go index 39b0eb5f2d..d80f719d8d 100644 --- a/pkg/platform/api/mono/mono_client/oauth/auth_device_put_responses.go +++ b/pkg/platform/api/mono/mono_client/oauth/auth_device_put_responses.go @@ -57,7 +57,8 @@ func NewAuthDevicePutOK() *AuthDevicePutOK { return &AuthDevicePutOK{} } -/* AuthDevicePutOK describes a response with status code 200, with default header values. +/* +AuthDevicePutOK describes a response with status code 200, with default header values. Success */ @@ -78,7 +79,8 @@ func NewAuthDevicePutBadRequest() *AuthDevicePutBadRequest { return &AuthDevicePutBadRequest{} } -/* AuthDevicePutBadRequest describes a response with status code 400, with default header values. +/* +AuthDevicePutBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -110,7 +112,8 @@ func NewAuthDevicePutUnauthorized() *AuthDevicePutUnauthorized { return &AuthDevicePutUnauthorized{} } -/* AuthDevicePutUnauthorized describes a response with status code 401, with default header values. +/* +AuthDevicePutUnauthorized describes a response with status code 401, with default header values. Invalid credentials */ @@ -142,7 +145,8 @@ func NewAuthDevicePutInternalServerError() *AuthDevicePutInternalServerError { return &AuthDevicePutInternalServerError{} } -/* AuthDevicePutInternalServerError describes a response with status code 500, with default header values. +/* +AuthDevicePutInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/oauth/oauth_client.go b/pkg/platform/api/mono/mono_client/oauth/oauth_client.go index 912c927c24..914b5960f6 100644 --- a/pkg/platform/api/mono/mono_client/oauth/oauth_client.go +++ b/pkg/platform/api/mono/mono_client/oauth/oauth_client.go @@ -40,7 +40,7 @@ type ClientService interface { } /* - AuthDeviceGet gets the status of a particular device code authorization flow based on device code +AuthDeviceGet gets the status of a particular device code authorization flow based on device code */ func (a *Client) AuthDeviceGet(params *AuthDeviceGetParams, opts ...ClientOption) (*AuthDeviceGetOK, error) { // TODO: Validate the params before sending @@ -78,7 +78,7 @@ func (a *Client) AuthDeviceGet(params *AuthDeviceGetParams, opts ...ClientOption } /* - AuthDevicePost initializes device o a u t h flow with the API +AuthDevicePost initializes device o a u t h flow with the API */ func (a *Client) AuthDevicePost(params *AuthDevicePostParams, opts ...ClientOption) (*AuthDevicePostOK, error) { // TODO: Validate the params before sending @@ -116,7 +116,7 @@ func (a *Client) AuthDevicePost(params *AuthDevicePostParams, opts ...ClientOpti } /* - AuthDevicePut authorizes user code this endpoint completes the device authorization grant flow successfully +AuthDevicePut authorizes user code this endpoint completes the device authorization grant flow successfully */ func (a *Client) AuthDevicePut(params *AuthDevicePutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthDevicePutOK, error) { // TODO: Validate the params before sending diff --git a/pkg/platform/api/mono/mono_client/organizations/add_organization_auto_invite_parameters.go b/pkg/platform/api/mono/mono_client/organizations/add_organization_auto_invite_parameters.go index 6478dfb404..32b7f59e70 100644 --- a/pkg/platform/api/mono/mono_client/organizations/add_organization_auto_invite_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/add_organization_auto_invite_parameters.go @@ -54,10 +54,12 @@ func NewAddOrganizationAutoInviteParamsWithHTTPClient(client *http.Client) *AddO } } -/* AddOrganizationAutoInviteParams contains all the parameters to send to the API endpoint - for the add organization auto invite operation. +/* +AddOrganizationAutoInviteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add organization auto invite operation. + + Typically these are written to a http.Request. */ type AddOrganizationAutoInviteParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/add_organization_auto_invite_responses.go b/pkg/platform/api/mono/mono_client/organizations/add_organization_auto_invite_responses.go index ca80b31597..d4d7c3165e 100644 --- a/pkg/platform/api/mono/mono_client/organizations/add_organization_auto_invite_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/add_organization_auto_invite_responses.go @@ -51,7 +51,8 @@ func NewAddOrganizationAutoInviteOK() *AddOrganizationAutoInviteOK { return &AddOrganizationAutoInviteOK{} } -/* AddOrganizationAutoInviteOK describes a response with status code 200, with default header values. +/* +AddOrganizationAutoInviteOK describes a response with status code 200, with default header values. Success */ @@ -81,7 +82,8 @@ func NewAddOrganizationAutoInviteForbidden() *AddOrganizationAutoInviteForbidden return &AddOrganizationAutoInviteForbidden{} } -/* AddOrganizationAutoInviteForbidden describes a response with status code 403, with default header values. +/* +AddOrganizationAutoInviteForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -113,7 +115,8 @@ func NewAddOrganizationAutoInviteInternalServerError() *AddOrganizationAutoInvit return &AddOrganizationAutoInviteInternalServerError{} } -/* AddOrganizationAutoInviteInternalServerError describes a response with status code 500, with default header values. +/* +AddOrganizationAutoInviteInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/add_organization_parameters.go b/pkg/platform/api/mono/mono_client/organizations/add_organization_parameters.go index 3c2343ed3e..0653ec33d0 100644 --- a/pkg/platform/api/mono/mono_client/organizations/add_organization_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/add_organization_parameters.go @@ -54,10 +54,12 @@ func NewAddOrganizationParamsWithHTTPClient(client *http.Client) *AddOrganizatio } } -/* AddOrganizationParams contains all the parameters to send to the API endpoint - for the add organization operation. +/* +AddOrganizationParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add organization operation. + + Typically these are written to a http.Request. */ type AddOrganizationParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/add_organization_responses.go b/pkg/platform/api/mono/mono_client/organizations/add_organization_responses.go index 7d78748b38..2c09c2b392 100644 --- a/pkg/platform/api/mono/mono_client/organizations/add_organization_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/add_organization_responses.go @@ -63,7 +63,8 @@ func NewAddOrganizationOK() *AddOrganizationOK { return &AddOrganizationOK{} } -/* AddOrganizationOK describes a response with status code 200, with default header values. +/* +AddOrganizationOK describes a response with status code 200, with default header values. Organization Created */ @@ -95,7 +96,8 @@ func NewAddOrganizationBadRequest() *AddOrganizationBadRequest { return &AddOrganizationBadRequest{} } -/* AddOrganizationBadRequest describes a response with status code 400, with default header values. +/* +AddOrganizationBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -127,7 +129,8 @@ func NewAddOrganizationForbidden() *AddOrganizationForbidden { return &AddOrganizationForbidden{} } -/* AddOrganizationForbidden describes a response with status code 403, with default header values. +/* +AddOrganizationForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -159,7 +162,8 @@ func NewAddOrganizationConflict() *AddOrganizationConflict { return &AddOrganizationConflict{} } -/* AddOrganizationConflict describes a response with status code 409, with default header values. +/* +AddOrganizationConflict describes a response with status code 409, with default header values. Conflict */ @@ -191,7 +195,8 @@ func NewAddOrganizationInternalServerError() *AddOrganizationInternalServerError return &AddOrganizationInternalServerError{} } -/* AddOrganizationInternalServerError describes a response with status code 500, with default header values. +/* +AddOrganizationInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/bulk_invite_organization_parameters.go b/pkg/platform/api/mono/mono_client/organizations/bulk_invite_organization_parameters.go index 242eb1acb5..b620ab8ab5 100644 --- a/pkg/platform/api/mono/mono_client/organizations/bulk_invite_organization_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/bulk_invite_organization_parameters.go @@ -52,10 +52,12 @@ func NewBulkInviteOrganizationParamsWithHTTPClient(client *http.Client) *BulkInv } } -/* BulkInviteOrganizationParams contains all the parameters to send to the API endpoint - for the bulk invite organization operation. +/* +BulkInviteOrganizationParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the bulk invite organization operation. + + Typically these are written to a http.Request. */ type BulkInviteOrganizationParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/bulk_invite_organization_responses.go b/pkg/platform/api/mono/mono_client/organizations/bulk_invite_organization_responses.go index 90d99ffa6f..ef372f1802 100644 --- a/pkg/platform/api/mono/mono_client/organizations/bulk_invite_organization_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/bulk_invite_organization_responses.go @@ -63,7 +63,8 @@ func NewBulkInviteOrganizationOK() *BulkInviteOrganizationOK { return &BulkInviteOrganizationOK{} } -/* BulkInviteOrganizationOK describes a response with status code 200, with default header values. +/* +BulkInviteOrganizationOK describes a response with status code 200, with default header values. Success */ @@ -93,7 +94,8 @@ func NewBulkInviteOrganizationBadRequest() *BulkInviteOrganizationBadRequest { return &BulkInviteOrganizationBadRequest{} } -/* BulkInviteOrganizationBadRequest describes a response with status code 400, with default header values. +/* +BulkInviteOrganizationBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -125,7 +127,8 @@ func NewBulkInviteOrganizationUnauthorized() *BulkInviteOrganizationUnauthorized return &BulkInviteOrganizationUnauthorized{} } -/* BulkInviteOrganizationUnauthorized describes a response with status code 401, with default header values. +/* +BulkInviteOrganizationUnauthorized describes a response with status code 401, with default header values. Unauthorized */ @@ -146,7 +149,8 @@ func NewBulkInviteOrganizationForbidden() *BulkInviteOrganizationForbidden { return &BulkInviteOrganizationForbidden{} } -/* BulkInviteOrganizationForbidden describes a response with status code 403, with default header values. +/* +BulkInviteOrganizationForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -178,7 +182,8 @@ func NewBulkInviteOrganizationInternalServerError() *BulkInviteOrganizationInter return &BulkInviteOrganizationInternalServerError{} } -/* BulkInviteOrganizationInternalServerError describes a response with status code 500, with default header values. +/* +BulkInviteOrganizationInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/delete_invite_parameters.go b/pkg/platform/api/mono/mono_client/organizations/delete_invite_parameters.go index ed8d43bea9..aab6b438f7 100644 --- a/pkg/platform/api/mono/mono_client/organizations/delete_invite_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/delete_invite_parameters.go @@ -52,10 +52,12 @@ func NewDeleteInviteParamsWithHTTPClient(client *http.Client) *DeleteInviteParam } } -/* DeleteInviteParams contains all the parameters to send to the API endpoint - for the delete invite operation. +/* +DeleteInviteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the delete invite operation. + + Typically these are written to a http.Request. */ type DeleteInviteParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/delete_invite_responses.go b/pkg/platform/api/mono/mono_client/organizations/delete_invite_responses.go index fa6f198e7a..1c2b2b3abc 100644 --- a/pkg/platform/api/mono/mono_client/organizations/delete_invite_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/delete_invite_responses.go @@ -57,7 +57,8 @@ func NewDeleteInviteOK() *DeleteInviteOK { return &DeleteInviteOK{} } -/* DeleteInviteOK describes a response with status code 200, with default header values. +/* +DeleteInviteOK describes a response with status code 200, with default header values. Invitation Delete */ @@ -89,7 +90,8 @@ func NewDeleteInviteForbidden() *DeleteInviteForbidden { return &DeleteInviteForbidden{} } -/* DeleteInviteForbidden describes a response with status code 403, with default header values. +/* +DeleteInviteForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -121,7 +123,8 @@ func NewDeleteInviteNotFound() *DeleteInviteNotFound { return &DeleteInviteNotFound{} } -/* DeleteInviteNotFound describes a response with status code 404, with default header values. +/* +DeleteInviteNotFound describes a response with status code 404, with default header values. Not Found */ @@ -153,7 +156,8 @@ func NewDeleteInviteInternalServerError() *DeleteInviteInternalServerError { return &DeleteInviteInternalServerError{} } -/* DeleteInviteInternalServerError describes a response with status code 500, with default header values. +/* +DeleteInviteInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/delete_organization_auto_invite_parameters.go b/pkg/platform/api/mono/mono_client/organizations/delete_organization_auto_invite_parameters.go index 395516e075..32b9a29d32 100644 --- a/pkg/platform/api/mono/mono_client/organizations/delete_organization_auto_invite_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/delete_organization_auto_invite_parameters.go @@ -52,10 +52,12 @@ func NewDeleteOrganizationAutoInviteParamsWithHTTPClient(client *http.Client) *D } } -/* DeleteOrganizationAutoInviteParams contains all the parameters to send to the API endpoint - for the delete organization auto invite operation. +/* +DeleteOrganizationAutoInviteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the delete organization auto invite operation. + + Typically these are written to a http.Request. */ type DeleteOrganizationAutoInviteParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/delete_organization_auto_invite_responses.go b/pkg/platform/api/mono/mono_client/organizations/delete_organization_auto_invite_responses.go index 2ced164fbc..2b07783840 100644 --- a/pkg/platform/api/mono/mono_client/organizations/delete_organization_auto_invite_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/delete_organization_auto_invite_responses.go @@ -57,7 +57,8 @@ func NewDeleteOrganizationAutoInviteOK() *DeleteOrganizationAutoInviteOK { return &DeleteOrganizationAutoInviteOK{} } -/* DeleteOrganizationAutoInviteOK describes a response with status code 200, with default header values. +/* +DeleteOrganizationAutoInviteOK describes a response with status code 200, with default header values. Success */ @@ -87,7 +88,8 @@ func NewDeleteOrganizationAutoInviteForbidden() *DeleteOrganizationAutoInviteFor return &DeleteOrganizationAutoInviteForbidden{} } -/* DeleteOrganizationAutoInviteForbidden describes a response with status code 403, with default header values. +/* +DeleteOrganizationAutoInviteForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -119,7 +121,8 @@ func NewDeleteOrganizationAutoInviteNotFound() *DeleteOrganizationAutoInviteNotF return &DeleteOrganizationAutoInviteNotFound{} } -/* DeleteOrganizationAutoInviteNotFound describes a response with status code 404, with default header values. +/* +DeleteOrganizationAutoInviteNotFound describes a response with status code 404, with default header values. Not Found */ @@ -151,7 +154,8 @@ func NewDeleteOrganizationAutoInviteInternalServerError() *DeleteOrganizationAut return &DeleteOrganizationAutoInviteInternalServerError{} } -/* DeleteOrganizationAutoInviteInternalServerError describes a response with status code 500, with default header values. +/* +DeleteOrganizationAutoInviteInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/delete_organization_parameters.go b/pkg/platform/api/mono/mono_client/organizations/delete_organization_parameters.go index ceb34341f4..2cc4217311 100644 --- a/pkg/platform/api/mono/mono_client/organizations/delete_organization_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/delete_organization_parameters.go @@ -52,10 +52,12 @@ func NewDeleteOrganizationParamsWithHTTPClient(client *http.Client) *DeleteOrgan } } -/* DeleteOrganizationParams contains all the parameters to send to the API endpoint - for the delete organization operation. +/* +DeleteOrganizationParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the delete organization operation. + + Typically these are written to a http.Request. */ type DeleteOrganizationParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/delete_organization_responses.go b/pkg/platform/api/mono/mono_client/organizations/delete_organization_responses.go index 2538e0ffa1..8b3870d61f 100644 --- a/pkg/platform/api/mono/mono_client/organizations/delete_organization_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/delete_organization_responses.go @@ -63,7 +63,8 @@ func NewDeleteOrganizationOK() *DeleteOrganizationOK { return &DeleteOrganizationOK{} } -/* DeleteOrganizationOK describes a response with status code 200, with default header values. +/* +DeleteOrganizationOK describes a response with status code 200, with default header values. Organization deleted */ @@ -95,7 +96,8 @@ func NewDeleteOrganizationBadRequest() *DeleteOrganizationBadRequest { return &DeleteOrganizationBadRequest{} } -/* DeleteOrganizationBadRequest describes a response with status code 400, with default header values. +/* +DeleteOrganizationBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -127,7 +129,8 @@ func NewDeleteOrganizationForbidden() *DeleteOrganizationForbidden { return &DeleteOrganizationForbidden{} } -/* DeleteOrganizationForbidden describes a response with status code 403, with default header values. +/* +DeleteOrganizationForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -159,7 +162,8 @@ func NewDeleteOrganizationNotFound() *DeleteOrganizationNotFound { return &DeleteOrganizationNotFound{} } -/* DeleteOrganizationNotFound describes a response with status code 404, with default header values. +/* +DeleteOrganizationNotFound describes a response with status code 404, with default header values. Not Found */ @@ -191,7 +195,8 @@ func NewDeleteOrganizationInternalServerError() *DeleteOrganizationInternalServe return &DeleteOrganizationInternalServerError{} } -/* DeleteOrganizationInternalServerError describes a response with status code 500, with default header values. +/* +DeleteOrganizationInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/edit_billing_parameters.go b/pkg/platform/api/mono/mono_client/organizations/edit_billing_parameters.go index 6d716fad53..2a7148494f 100644 --- a/pkg/platform/api/mono/mono_client/organizations/edit_billing_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/edit_billing_parameters.go @@ -54,10 +54,12 @@ func NewEditBillingParamsWithHTTPClient(client *http.Client) *EditBillingParams } } -/* EditBillingParams contains all the parameters to send to the API endpoint - for the edit billing operation. +/* +EditBillingParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the edit billing operation. + + Typically these are written to a http.Request. */ type EditBillingParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/edit_billing_responses.go b/pkg/platform/api/mono/mono_client/organizations/edit_billing_responses.go index b8226ae252..76d61b7692 100644 --- a/pkg/platform/api/mono/mono_client/organizations/edit_billing_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/edit_billing_responses.go @@ -63,7 +63,8 @@ func NewEditBillingOK() *EditBillingOK { return &EditBillingOK{} } -/* EditBillingOK describes a response with status code 200, with default header values. +/* +EditBillingOK describes a response with status code 200, with default header values. Success */ @@ -95,7 +96,8 @@ func NewEditBillingBadRequest() *EditBillingBadRequest { return &EditBillingBadRequest{} } -/* EditBillingBadRequest describes a response with status code 400, with default header values. +/* +EditBillingBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -127,7 +129,8 @@ func NewEditBillingForbidden() *EditBillingForbidden { return &EditBillingForbidden{} } -/* EditBillingForbidden describes a response with status code 403, with default header values. +/* +EditBillingForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -159,7 +162,8 @@ func NewEditBillingNotFound() *EditBillingNotFound { return &EditBillingNotFound{} } -/* EditBillingNotFound describes a response with status code 404, with default header values. +/* +EditBillingNotFound describes a response with status code 404, with default header values. Not Found */ @@ -191,7 +195,8 @@ func NewEditBillingInternalServerError() *EditBillingInternalServerError { return &EditBillingInternalServerError{} } -/* EditBillingInternalServerError describes a response with status code 500, with default header values. +/* +EditBillingInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/edit_member_parameters.go b/pkg/platform/api/mono/mono_client/organizations/edit_member_parameters.go index 443cf46172..06021845d8 100644 --- a/pkg/platform/api/mono/mono_client/organizations/edit_member_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/edit_member_parameters.go @@ -54,10 +54,12 @@ func NewEditMemberParamsWithHTTPClient(client *http.Client) *EditMemberParams { } } -/* EditMemberParams contains all the parameters to send to the API endpoint - for the edit member operation. +/* +EditMemberParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the edit member operation. + + Typically these are written to a http.Request. */ type EditMemberParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/edit_member_responses.go b/pkg/platform/api/mono/mono_client/organizations/edit_member_responses.go index 104e1f9d0f..88a5259c83 100644 --- a/pkg/platform/api/mono/mono_client/organizations/edit_member_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/edit_member_responses.go @@ -63,7 +63,8 @@ func NewEditMemberOK() *EditMemberOK { return &EditMemberOK{} } -/* EditMemberOK describes a response with status code 200, with default header values. +/* +EditMemberOK describes a response with status code 200, with default header values. Membership Roster */ @@ -93,7 +94,8 @@ func NewEditMemberBadRequest() *EditMemberBadRequest { return &EditMemberBadRequest{} } -/* EditMemberBadRequest describes a response with status code 400, with default header values. +/* +EditMemberBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -125,7 +127,8 @@ func NewEditMemberForbidden() *EditMemberForbidden { return &EditMemberForbidden{} } -/* EditMemberForbidden describes a response with status code 403, with default header values. +/* +EditMemberForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -157,7 +160,8 @@ func NewEditMemberNotFound() *EditMemberNotFound { return &EditMemberNotFound{} } -/* EditMemberNotFound describes a response with status code 404, with default header values. +/* +EditMemberNotFound describes a response with status code 404, with default header values. Not Found */ @@ -189,7 +193,8 @@ func NewEditMemberInternalServerError() *EditMemberInternalServerError { return &EditMemberInternalServerError{} } -/* EditMemberInternalServerError describes a response with status code 500, with default header values. +/* +EditMemberInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/edit_organization_parameters.go b/pkg/platform/api/mono/mono_client/organizations/edit_organization_parameters.go index ee8ce7a361..c3187a239b 100644 --- a/pkg/platform/api/mono/mono_client/organizations/edit_organization_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/edit_organization_parameters.go @@ -54,10 +54,12 @@ func NewEditOrganizationParamsWithHTTPClient(client *http.Client) *EditOrganizat } } -/* EditOrganizationParams contains all the parameters to send to the API endpoint - for the edit organization operation. +/* +EditOrganizationParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the edit organization operation. + + Typically these are written to a http.Request. */ type EditOrganizationParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/edit_organization_responses.go b/pkg/platform/api/mono/mono_client/organizations/edit_organization_responses.go index a26011928d..68ea07a0d3 100644 --- a/pkg/platform/api/mono/mono_client/organizations/edit_organization_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/edit_organization_responses.go @@ -63,7 +63,8 @@ func NewEditOrganizationOK() *EditOrganizationOK { return &EditOrganizationOK{} } -/* EditOrganizationOK describes a response with status code 200, with default header values. +/* +EditOrganizationOK describes a response with status code 200, with default header values. Organization updated */ @@ -95,7 +96,8 @@ func NewEditOrganizationBadRequest() *EditOrganizationBadRequest { return &EditOrganizationBadRequest{} } -/* EditOrganizationBadRequest describes a response with status code 400, with default header values. +/* +EditOrganizationBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -127,7 +129,8 @@ func NewEditOrganizationForbidden() *EditOrganizationForbidden { return &EditOrganizationForbidden{} } -/* EditOrganizationForbidden describes a response with status code 403, with default header values. +/* +EditOrganizationForbidden describes a response with status code 403, with default header values. Unauthorized */ @@ -159,7 +162,8 @@ func NewEditOrganizationNotFound() *EditOrganizationNotFound { return &EditOrganizationNotFound{} } -/* EditOrganizationNotFound describes a response with status code 404, with default header values. +/* +EditOrganizationNotFound describes a response with status code 404, with default header values. Not Found */ @@ -191,7 +195,8 @@ func NewEditOrganizationInternalServerError() *EditOrganizationInternalServerErr return &EditOrganizationInternalServerError{} } -/* EditOrganizationInternalServerError describes a response with status code 500, with default header values. +/* +EditOrganizationInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/get_admin_metadata_parameters.go b/pkg/platform/api/mono/mono_client/organizations/get_admin_metadata_parameters.go index b100d6fd88..e6273a1779 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_admin_metadata_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_admin_metadata_parameters.go @@ -52,10 +52,12 @@ func NewGetAdminMetadataParamsWithHTTPClient(client *http.Client) *GetAdminMetad } } -/* GetAdminMetadataParams contains all the parameters to send to the API endpoint - for the get admin metadata operation. +/* +GetAdminMetadataParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get admin metadata operation. + + Typically these are written to a http.Request. */ type GetAdminMetadataParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/get_admin_metadata_responses.go b/pkg/platform/api/mono/mono_client/organizations/get_admin_metadata_responses.go index 080825cac9..78dcf7c4d2 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_admin_metadata_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_admin_metadata_responses.go @@ -63,7 +63,8 @@ func NewGetAdminMetadataOK() *GetAdminMetadataOK { return &GetAdminMetadataOK{} } -/* GetAdminMetadataOK describes a response with status code 200, with default header values. +/* +GetAdminMetadataOK describes a response with status code 200, with default header values. Success */ @@ -95,7 +96,8 @@ func NewGetAdminMetadataBadRequest() *GetAdminMetadataBadRequest { return &GetAdminMetadataBadRequest{} } -/* GetAdminMetadataBadRequest describes a response with status code 400, with default header values. +/* +GetAdminMetadataBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -127,7 +129,8 @@ func NewGetAdminMetadataForbidden() *GetAdminMetadataForbidden { return &GetAdminMetadataForbidden{} } -/* GetAdminMetadataForbidden describes a response with status code 403, with default header values. +/* +GetAdminMetadataForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -159,7 +162,8 @@ func NewGetAdminMetadataNotFound() *GetAdminMetadataNotFound { return &GetAdminMetadataNotFound{} } -/* GetAdminMetadataNotFound describes a response with status code 404, with default header values. +/* +GetAdminMetadataNotFound describes a response with status code 404, with default header values. Not Found */ @@ -191,7 +195,8 @@ func NewGetAdminMetadataInternalServerError() *GetAdminMetadataInternalServerErr return &GetAdminMetadataInternalServerError{} } -/* GetAdminMetadataInternalServerError describes a response with status code 500, with default header values. +/* +GetAdminMetadataInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/get_billing_parameters.go b/pkg/platform/api/mono/mono_client/organizations/get_billing_parameters.go index ceace7d383..e56ba049e1 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_billing_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_billing_parameters.go @@ -52,10 +52,12 @@ func NewGetBillingParamsWithHTTPClient(client *http.Client) *GetBillingParams { } } -/* GetBillingParams contains all the parameters to send to the API endpoint - for the get billing operation. +/* +GetBillingParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get billing operation. + + Typically these are written to a http.Request. */ type GetBillingParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/get_billing_responses.go b/pkg/platform/api/mono/mono_client/organizations/get_billing_responses.go index 3863b9dea7..4899a822a7 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_billing_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_billing_responses.go @@ -63,7 +63,8 @@ func NewGetBillingOK() *GetBillingOK { return &GetBillingOK{} } -/* GetBillingOK describes a response with status code 200, with default header values. +/* +GetBillingOK describes a response with status code 200, with default header values. Success */ @@ -95,7 +96,8 @@ func NewGetBillingBadRequest() *GetBillingBadRequest { return &GetBillingBadRequest{} } -/* GetBillingBadRequest describes a response with status code 400, with default header values. +/* +GetBillingBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -127,7 +129,8 @@ func NewGetBillingForbidden() *GetBillingForbidden { return &GetBillingForbidden{} } -/* GetBillingForbidden describes a response with status code 403, with default header values. +/* +GetBillingForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -159,7 +162,8 @@ func NewGetBillingNotFound() *GetBillingNotFound { return &GetBillingNotFound{} } -/* GetBillingNotFound describes a response with status code 404, with default header values. +/* +GetBillingNotFound describes a response with status code 404, with default header values. Not Found */ @@ -191,7 +195,8 @@ func NewGetBillingInternalServerError() *GetBillingInternalServerError { return &GetBillingInternalServerError{} } -/* GetBillingInternalServerError describes a response with status code 500, with default header values. +/* +GetBillingInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/get_next_mutation_id_parameters.go b/pkg/platform/api/mono/mono_client/organizations/get_next_mutation_id_parameters.go index 5672bc9fdc..818495d41e 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_next_mutation_id_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_next_mutation_id_parameters.go @@ -52,10 +52,12 @@ func NewGetNextMutationIDParamsWithHTTPClient(client *http.Client) *GetNextMutat } } -/* GetNextMutationIDParams contains all the parameters to send to the API endpoint - for the get next mutation ID operation. +/* +GetNextMutationIDParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get next mutation ID operation. + + Typically these are written to a http.Request. */ type GetNextMutationIDParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/get_next_mutation_id_responses.go b/pkg/platform/api/mono/mono_client/organizations/get_next_mutation_id_responses.go index fd40131b11..ff3811c0f5 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_next_mutation_id_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_next_mutation_id_responses.go @@ -57,7 +57,8 @@ func NewGetNextMutationIDOK() *GetNextMutationIDOK { return &GetNextMutationIDOK{} } -/* GetNextMutationIDOK describes a response with status code 200, with default header values. +/* +GetNextMutationIDOK describes a response with status code 200, with default header values. Success */ @@ -87,7 +88,8 @@ func NewGetNextMutationIDForbidden() *GetNextMutationIDForbidden { return &GetNextMutationIDForbidden{} } -/* GetNextMutationIDForbidden describes a response with status code 403, with default header values. +/* +GetNextMutationIDForbidden describes a response with status code 403, with default header values. Unauthorized */ @@ -119,7 +121,8 @@ func NewGetNextMutationIDNotFound() *GetNextMutationIDNotFound { return &GetNextMutationIDNotFound{} } -/* GetNextMutationIDNotFound describes a response with status code 404, with default header values. +/* +GetNextMutationIDNotFound describes a response with status code 404, with default header values. Not Found */ @@ -151,7 +154,8 @@ func NewGetNextMutationIDInternalServerError() *GetNextMutationIDInternalServerE return &GetNextMutationIDInternalServerError{} } -/* GetNextMutationIDInternalServerError describes a response with status code 500, with default header values. +/* +GetNextMutationIDInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/get_organization_auto_invite_parameters.go b/pkg/platform/api/mono/mono_client/organizations/get_organization_auto_invite_parameters.go index fda58896ae..9cae817626 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_organization_auto_invite_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_organization_auto_invite_parameters.go @@ -52,10 +52,12 @@ func NewGetOrganizationAutoInviteParamsWithHTTPClient(client *http.Client) *GetO } } -/* GetOrganizationAutoInviteParams contains all the parameters to send to the API endpoint - for the get organization auto invite operation. +/* +GetOrganizationAutoInviteParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get organization auto invite operation. + + Typically these are written to a http.Request. */ type GetOrganizationAutoInviteParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/get_organization_auto_invite_responses.go b/pkg/platform/api/mono/mono_client/organizations/get_organization_auto_invite_responses.go index 65f714d448..837a06cc2a 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_organization_auto_invite_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_organization_auto_invite_responses.go @@ -51,7 +51,8 @@ func NewGetOrganizationAutoInviteOK() *GetOrganizationAutoInviteOK { return &GetOrganizationAutoInviteOK{} } -/* GetOrganizationAutoInviteOK describes a response with status code 200, with default header values. +/* +GetOrganizationAutoInviteOK describes a response with status code 200, with default header values. Success */ @@ -81,7 +82,8 @@ func NewGetOrganizationAutoInviteForbidden() *GetOrganizationAutoInviteForbidden return &GetOrganizationAutoInviteForbidden{} } -/* GetOrganizationAutoInviteForbidden describes a response with status code 403, with default header values. +/* +GetOrganizationAutoInviteForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -113,7 +115,8 @@ func NewGetOrganizationAutoInviteInternalServerError() *GetOrganizationAutoInvit return &GetOrganizationAutoInviteInternalServerError{} } -/* GetOrganizationAutoInviteInternalServerError describes a response with status code 500, with default header values. +/* +GetOrganizationAutoInviteInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/get_organization_invitations_parameters.go b/pkg/platform/api/mono/mono_client/organizations/get_organization_invitations_parameters.go index 33b647568b..8419e45a37 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_organization_invitations_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_organization_invitations_parameters.go @@ -52,10 +52,12 @@ func NewGetOrganizationInvitationsParamsWithHTTPClient(client *http.Client) *Get } } -/* GetOrganizationInvitationsParams contains all the parameters to send to the API endpoint - for the get organization invitations operation. +/* +GetOrganizationInvitationsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get organization invitations operation. + + Typically these are written to a http.Request. */ type GetOrganizationInvitationsParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/get_organization_invitations_responses.go b/pkg/platform/api/mono/mono_client/organizations/get_organization_invitations_responses.go index 1e7cd4d449..87c23c92b0 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_organization_invitations_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_organization_invitations_responses.go @@ -51,7 +51,8 @@ func NewGetOrganizationInvitationsOK() *GetOrganizationInvitationsOK { return &GetOrganizationInvitationsOK{} } -/* GetOrganizationInvitationsOK describes a response with status code 200, with default header values. +/* +GetOrganizationInvitationsOK describes a response with status code 200, with default header values. Success */ @@ -81,7 +82,8 @@ func NewGetOrganizationInvitationsForbidden() *GetOrganizationInvitationsForbidd return &GetOrganizationInvitationsForbidden{} } -/* GetOrganizationInvitationsForbidden describes a response with status code 403, with default header values. +/* +GetOrganizationInvitationsForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -113,7 +115,8 @@ func NewGetOrganizationInvitationsInternalServerError() *GetOrganizationInvitati return &GetOrganizationInvitationsInternalServerError{} } -/* GetOrganizationInvitationsInternalServerError describes a response with status code 500, with default header values. +/* +GetOrganizationInvitationsInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/get_organization_members_parameters.go b/pkg/platform/api/mono/mono_client/organizations/get_organization_members_parameters.go index 8c0ad102f1..fe361d5eef 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_organization_members_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_organization_members_parameters.go @@ -52,10 +52,12 @@ func NewGetOrganizationMembersParamsWithHTTPClient(client *http.Client) *GetOrga } } -/* GetOrganizationMembersParams contains all the parameters to send to the API endpoint - for the get organization members operation. +/* +GetOrganizationMembersParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get organization members operation. + + Typically these are written to a http.Request. */ type GetOrganizationMembersParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/get_organization_members_responses.go b/pkg/platform/api/mono/mono_client/organizations/get_organization_members_responses.go index bef739fece..d9b3cb4d89 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_organization_members_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_organization_members_responses.go @@ -57,7 +57,8 @@ func NewGetOrganizationMembersOK() *GetOrganizationMembersOK { return &GetOrganizationMembersOK{} } -/* GetOrganizationMembersOK describes a response with status code 200, with default header values. +/* +GetOrganizationMembersOK describes a response with status code 200, with default header values. Success */ @@ -87,7 +88,8 @@ func NewGetOrganizationMembersForbidden() *GetOrganizationMembersForbidden { return &GetOrganizationMembersForbidden{} } -/* GetOrganizationMembersForbidden describes a response with status code 403, with default header values. +/* +GetOrganizationMembersForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -119,7 +121,8 @@ func NewGetOrganizationMembersNotFound() *GetOrganizationMembersNotFound { return &GetOrganizationMembersNotFound{} } -/* GetOrganizationMembersNotFound describes a response with status code 404, with default header values. +/* +GetOrganizationMembersNotFound describes a response with status code 404, with default header values. Not Found */ @@ -151,7 +154,8 @@ func NewGetOrganizationMembersInternalServerError() *GetOrganizationMembersInter return &GetOrganizationMembersInternalServerError{} } -/* GetOrganizationMembersInternalServerError describes a response with status code 500, with default header values. +/* +GetOrganizationMembersInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/get_organization_mutations_parameters.go b/pkg/platform/api/mono/mono_client/organizations/get_organization_mutations_parameters.go index af9ee1ee3a..c3f46486e7 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_organization_mutations_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_organization_mutations_parameters.go @@ -52,10 +52,12 @@ func NewGetOrganizationMutationsParamsWithHTTPClient(client *http.Client) *GetOr } } -/* GetOrganizationMutationsParams contains all the parameters to send to the API endpoint - for the get organization mutations operation. +/* +GetOrganizationMutationsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get organization mutations operation. + + Typically these are written to a http.Request. */ type GetOrganizationMutationsParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/get_organization_mutations_responses.go b/pkg/platform/api/mono/mono_client/organizations/get_organization_mutations_responses.go index 4d69a88b7c..128fd0e1a0 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_organization_mutations_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_organization_mutations_responses.go @@ -57,7 +57,8 @@ func NewGetOrganizationMutationsOK() *GetOrganizationMutationsOK { return &GetOrganizationMutationsOK{} } -/* GetOrganizationMutationsOK describes a response with status code 200, with default header values. +/* +GetOrganizationMutationsOK describes a response with status code 200, with default header values. Success */ @@ -87,7 +88,8 @@ func NewGetOrganizationMutationsForbidden() *GetOrganizationMutationsForbidden { return &GetOrganizationMutationsForbidden{} } -/* GetOrganizationMutationsForbidden describes a response with status code 403, with default header values. +/* +GetOrganizationMutationsForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -119,7 +121,8 @@ func NewGetOrganizationMutationsNotFound() *GetOrganizationMutationsNotFound { return &GetOrganizationMutationsNotFound{} } -/* GetOrganizationMutationsNotFound describes a response with status code 404, with default header values. +/* +GetOrganizationMutationsNotFound describes a response with status code 404, with default header values. Not Found */ @@ -151,7 +154,8 @@ func NewGetOrganizationMutationsInternalServerError() *GetOrganizationMutationsI return &GetOrganizationMutationsInternalServerError{} } -/* GetOrganizationMutationsInternalServerError describes a response with status code 500, with default header values. +/* +GetOrganizationMutationsInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/get_organization_parameters.go b/pkg/platform/api/mono/mono_client/organizations/get_organization_parameters.go index c68c8b1b00..1060fedf31 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_organization_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_organization_parameters.go @@ -52,10 +52,12 @@ func NewGetOrganizationParamsWithHTTPClient(client *http.Client) *GetOrganizatio } } -/* GetOrganizationParams contains all the parameters to send to the API endpoint - for the get organization operation. +/* +GetOrganizationParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get organization operation. + + Typically these are written to a http.Request. */ type GetOrganizationParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/get_organization_responses.go b/pkg/platform/api/mono/mono_client/organizations/get_organization_responses.go index 2b63817ffd..00cfef8af5 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_organization_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_organization_responses.go @@ -57,7 +57,8 @@ func NewGetOrganizationOK() *GetOrganizationOK { return &GetOrganizationOK{} } -/* GetOrganizationOK describes a response with status code 200, with default header values. +/* +GetOrganizationOK describes a response with status code 200, with default header values. Organization Record */ @@ -89,7 +90,8 @@ func NewGetOrganizationBadRequest() *GetOrganizationBadRequest { return &GetOrganizationBadRequest{} } -/* GetOrganizationBadRequest describes a response with status code 400, with default header values. +/* +GetOrganizationBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -121,7 +123,8 @@ func NewGetOrganizationNotFound() *GetOrganizationNotFound { return &GetOrganizationNotFound{} } -/* GetOrganizationNotFound describes a response with status code 404, with default header values. +/* +GetOrganizationNotFound describes a response with status code 404, with default header values. Not Found */ @@ -153,7 +156,8 @@ func NewGetOrganizationInternalServerError() *GetOrganizationInternalServerError return &GetOrganizationInternalServerError{} } -/* GetOrganizationInternalServerError describes a response with status code 500, with default header values. +/* +GetOrganizationInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/get_organization_tier_parameters.go b/pkg/platform/api/mono/mono_client/organizations/get_organization_tier_parameters.go index 8bb9afaf19..1c2418d8b6 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_organization_tier_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_organization_tier_parameters.go @@ -52,10 +52,12 @@ func NewGetOrganizationTierParamsWithHTTPClient(client *http.Client) *GetOrganiz } } -/* GetOrganizationTierParams contains all the parameters to send to the API endpoint - for the get organization tier operation. +/* +GetOrganizationTierParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get organization tier operation. + + Typically these are written to a http.Request. */ type GetOrganizationTierParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/get_organization_tier_responses.go b/pkg/platform/api/mono/mono_client/organizations/get_organization_tier_responses.go index 92470ab0c1..fa78e7c9a0 100644 --- a/pkg/platform/api/mono/mono_client/organizations/get_organization_tier_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/get_organization_tier_responses.go @@ -57,7 +57,8 @@ func NewGetOrganizationTierOK() *GetOrganizationTierOK { return &GetOrganizationTierOK{} } -/* GetOrganizationTierOK describes a response with status code 200, with default header values. +/* +GetOrganizationTierOK describes a response with status code 200, with default header values. Success */ @@ -89,7 +90,8 @@ func NewGetOrganizationTierForbidden() *GetOrganizationTierForbidden { return &GetOrganizationTierForbidden{} } -/* GetOrganizationTierForbidden describes a response with status code 403, with default header values. +/* +GetOrganizationTierForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -121,7 +123,8 @@ func NewGetOrganizationTierNotFound() *GetOrganizationTierNotFound { return &GetOrganizationTierNotFound{} } -/* GetOrganizationTierNotFound describes a response with status code 404, with default header values. +/* +GetOrganizationTierNotFound describes a response with status code 404, with default header values. Forbidden */ @@ -153,7 +156,8 @@ func NewGetOrganizationTierInternalServerError() *GetOrganizationTierInternalSer return &GetOrganizationTierInternalServerError{} } -/* GetOrganizationTierInternalServerError describes a response with status code 500, with default header values. +/* +GetOrganizationTierInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/invite_organization_parameters.go b/pkg/platform/api/mono/mono_client/organizations/invite_organization_parameters.go index 8e040b76f2..71e930a282 100644 --- a/pkg/platform/api/mono/mono_client/organizations/invite_organization_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/invite_organization_parameters.go @@ -52,10 +52,12 @@ func NewInviteOrganizationParamsWithHTTPClient(client *http.Client) *InviteOrgan } } -/* InviteOrganizationParams contains all the parameters to send to the API endpoint - for the invite organization operation. +/* +InviteOrganizationParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the invite organization operation. + + Typically these are written to a http.Request. */ type InviteOrganizationParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/invite_organization_responses.go b/pkg/platform/api/mono/mono_client/organizations/invite_organization_responses.go index 54389e93e3..6cbcca95d5 100644 --- a/pkg/platform/api/mono/mono_client/organizations/invite_organization_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/invite_organization_responses.go @@ -66,7 +66,8 @@ func NewInviteOrganizationOK() *InviteOrganizationOK { return &InviteOrganizationOK{} } -/* InviteOrganizationOK describes a response with status code 200, with default header values. +/* +InviteOrganizationOK describes a response with status code 200, with default header values. Invitation Sent */ @@ -96,7 +97,8 @@ func NewInviteOrganizationBadRequest() *InviteOrganizationBadRequest { return &InviteOrganizationBadRequest{} } -/* InviteOrganizationBadRequest describes a response with status code 400, with default header values. +/* +InviteOrganizationBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -128,7 +130,8 @@ func NewInviteOrganizationForbidden() *InviteOrganizationForbidden { return &InviteOrganizationForbidden{} } -/* InviteOrganizationForbidden describes a response with status code 403, with default header values. +/* +InviteOrganizationForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -160,7 +163,8 @@ func NewInviteOrganizationNotFound() *InviteOrganizationNotFound { return &InviteOrganizationNotFound{} } -/* InviteOrganizationNotFound describes a response with status code 404, with default header values. +/* +InviteOrganizationNotFound describes a response with status code 404, with default header values. Not Found */ @@ -192,7 +196,8 @@ func NewInviteOrganizationInternalServerError() *InviteOrganizationInternalServe return &InviteOrganizationInternalServerError{} } -/* InviteOrganizationInternalServerError describes a response with status code 500, with default header values. +/* +InviteOrganizationInternalServerError describes a response with status code 500, with default header values. Server Error */ @@ -219,7 +224,8 @@ func (o *InviteOrganizationInternalServerError) readResponse(response runtime.Cl return nil } -/*InviteOrganizationBody invite organization body +/* +InviteOrganizationBody invite organization body swagger:model InviteOrganizationBody */ type InviteOrganizationBody struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/join_organization_parameters.go b/pkg/platform/api/mono/mono_client/organizations/join_organization_parameters.go index 7a3111cde9..4ca389d5cc 100644 --- a/pkg/platform/api/mono/mono_client/organizations/join_organization_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/join_organization_parameters.go @@ -52,10 +52,12 @@ func NewJoinOrganizationParamsWithHTTPClient(client *http.Client) *JoinOrganizat } } -/* JoinOrganizationParams contains all the parameters to send to the API endpoint - for the join organization operation. +/* +JoinOrganizationParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the join organization operation. + + Typically these are written to a http.Request. */ type JoinOrganizationParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/join_organization_responses.go b/pkg/platform/api/mono/mono_client/organizations/join_organization_responses.go index f3c4068f40..0192c56b94 100644 --- a/pkg/platform/api/mono/mono_client/organizations/join_organization_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/join_organization_responses.go @@ -65,7 +65,8 @@ func NewJoinOrganizationOK() *JoinOrganizationOK { return &JoinOrganizationOK{} } -/* JoinOrganizationOK describes a response with status code 200, with default header values. +/* +JoinOrganizationOK describes a response with status code 200, with default header values. Membership Roster */ @@ -95,7 +96,8 @@ func NewJoinOrganizationBadRequest() *JoinOrganizationBadRequest { return &JoinOrganizationBadRequest{} } -/* JoinOrganizationBadRequest describes a response with status code 400, with default header values. +/* +JoinOrganizationBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -127,7 +129,8 @@ func NewJoinOrganizationForbidden() *JoinOrganizationForbidden { return &JoinOrganizationForbidden{} } -/* JoinOrganizationForbidden describes a response with status code 403, with default header values. +/* +JoinOrganizationForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -159,7 +162,8 @@ func NewJoinOrganizationNotFound() *JoinOrganizationNotFound { return &JoinOrganizationNotFound{} } -/* JoinOrganizationNotFound describes a response with status code 404, with default header values. +/* +JoinOrganizationNotFound describes a response with status code 404, with default header values. Not Found */ @@ -191,7 +195,8 @@ func NewJoinOrganizationInternalServerError() *JoinOrganizationInternalServerErr return &JoinOrganizationInternalServerError{} } -/* JoinOrganizationInternalServerError describes a response with status code 500, with default header values. +/* +JoinOrganizationInternalServerError describes a response with status code 500, with default header values. Server Error */ @@ -218,7 +223,8 @@ func (o *JoinOrganizationInternalServerError) readResponse(response runtime.Clie return nil } -/*JoinOrganizationBody join organization body +/* +JoinOrganizationBody join organization body swagger:model JoinOrganizationBody */ type JoinOrganizationBody struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/komodo_authorized_parameters.go b/pkg/platform/api/mono/mono_client/organizations/komodo_authorized_parameters.go index 7557437787..b5d9b895d6 100644 --- a/pkg/platform/api/mono/mono_client/organizations/komodo_authorized_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/komodo_authorized_parameters.go @@ -52,10 +52,12 @@ func NewKomodoAuthorizedParamsWithHTTPClient(client *http.Client) *KomodoAuthori } } -/* KomodoAuthorizedParams contains all the parameters to send to the API endpoint - for the komodo authorized operation. +/* +KomodoAuthorizedParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the komodo authorized operation. + + Typically these are written to a http.Request. */ type KomodoAuthorizedParams struct { timeout time.Duration diff --git a/pkg/platform/api/mono/mono_client/organizations/komodo_authorized_responses.go b/pkg/platform/api/mono/mono_client/organizations/komodo_authorized_responses.go index 532701fffb..592334004b 100644 --- a/pkg/platform/api/mono/mono_client/organizations/komodo_authorized_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/komodo_authorized_responses.go @@ -57,7 +57,8 @@ func NewKomodoAuthorizedOK() *KomodoAuthorizedOK { return &KomodoAuthorizedOK{} } -/* KomodoAuthorizedOK describes a response with status code 200, with default header values. +/* +KomodoAuthorizedOK describes a response with status code 200, with default header values. Success */ @@ -78,7 +79,8 @@ func NewKomodoAuthorizedBadRequest() *KomodoAuthorizedBadRequest { return &KomodoAuthorizedBadRequest{} } -/* KomodoAuthorizedBadRequest describes a response with status code 400, with default header values. +/* +KomodoAuthorizedBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -110,7 +112,8 @@ func NewKomodoAuthorizedForbidden() *KomodoAuthorizedForbidden { return &KomodoAuthorizedForbidden{} } -/* KomodoAuthorizedForbidden describes a response with status code 403, with default header values. +/* +KomodoAuthorizedForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -142,7 +145,8 @@ func NewKomodoAuthorizedInternalServerError() *KomodoAuthorizedInternalServerErr return &KomodoAuthorizedInternalServerError{} } -/* KomodoAuthorizedInternalServerError describes a response with status code 500, with default header values. +/* +KomodoAuthorizedInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/list_organizations_parameters.go b/pkg/platform/api/mono/mono_client/organizations/list_organizations_parameters.go index 21e76a3014..630c480eb6 100644 --- a/pkg/platform/api/mono/mono_client/organizations/list_organizations_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/list_organizations_parameters.go @@ -53,10 +53,12 @@ func NewListOrganizationsParamsWithHTTPClient(client *http.Client) *ListOrganiza } } -/* ListOrganizationsParams contains all the parameters to send to the API endpoint - for the list organizations operation. +/* +ListOrganizationsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the list organizations operation. + + Typically these are written to a http.Request. */ type ListOrganizationsParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/list_organizations_responses.go b/pkg/platform/api/mono/mono_client/organizations/list_organizations_responses.go index 95fc17dc4b..5d87a74a4c 100644 --- a/pkg/platform/api/mono/mono_client/organizations/list_organizations_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/list_organizations_responses.go @@ -45,7 +45,8 @@ func NewListOrganizationsOK() *ListOrganizationsOK { return &ListOrganizationsOK{} } -/* ListOrganizationsOK describes a response with status code 200, with default header values. +/* +ListOrganizationsOK describes a response with status code 200, with default header values. Success */ @@ -75,7 +76,8 @@ func NewListOrganizationsBadRequest() *ListOrganizationsBadRequest { return &ListOrganizationsBadRequest{} } -/* ListOrganizationsBadRequest describes a response with status code 400, with default header values. +/* +ListOrganizationsBadRequest describes a response with status code 400, with default header values. Bad Request */ diff --git a/pkg/platform/api/mono/mono_client/organizations/mutate_organization_parameters.go b/pkg/platform/api/mono/mono_client/organizations/mutate_organization_parameters.go index 01defcf19f..91e390948d 100644 --- a/pkg/platform/api/mono/mono_client/organizations/mutate_organization_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/mutate_organization_parameters.go @@ -54,10 +54,12 @@ func NewMutateOrganizationParamsWithHTTPClient(client *http.Client) *MutateOrgan } } -/* MutateOrganizationParams contains all the parameters to send to the API endpoint - for the mutate organization operation. +/* +MutateOrganizationParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the mutate organization operation. + + Typically these are written to a http.Request. */ type MutateOrganizationParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/mutate_organization_responses.go b/pkg/platform/api/mono/mono_client/organizations/mutate_organization_responses.go index b54e4d2da6..bacb763dbb 100644 --- a/pkg/platform/api/mono/mono_client/organizations/mutate_organization_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/mutate_organization_responses.go @@ -69,7 +69,8 @@ func NewMutateOrganizationOK() *MutateOrganizationOK { return &MutateOrganizationOK{} } -/* MutateOrganizationOK describes a response with status code 200, with default header values. +/* +MutateOrganizationOK describes a response with status code 200, with default header values. Organization updated */ @@ -101,7 +102,8 @@ func NewMutateOrganizationBadRequest() *MutateOrganizationBadRequest { return &MutateOrganizationBadRequest{} } -/* MutateOrganizationBadRequest describes a response with status code 400, with default header values. +/* +MutateOrganizationBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -133,7 +135,8 @@ func NewMutateOrganizationForbidden() *MutateOrganizationForbidden { return &MutateOrganizationForbidden{} } -/* MutateOrganizationForbidden describes a response with status code 403, with default header values. +/* +MutateOrganizationForbidden describes a response with status code 403, with default header values. Unauthorized */ @@ -165,7 +168,8 @@ func NewMutateOrganizationNotFound() *MutateOrganizationNotFound { return &MutateOrganizationNotFound{} } -/* MutateOrganizationNotFound describes a response with status code 404, with default header values. +/* +MutateOrganizationNotFound describes a response with status code 404, with default header values. Not Found */ @@ -197,7 +201,8 @@ func NewMutateOrganizationConflict() *MutateOrganizationConflict { return &MutateOrganizationConflict{} } -/* MutateOrganizationConflict describes a response with status code 409, with default header values. +/* +MutateOrganizationConflict describes a response with status code 409, with default header values. Conflict */ @@ -229,7 +234,8 @@ func NewMutateOrganizationInternalServerError() *MutateOrganizationInternalServe return &MutateOrganizationInternalServerError{} } -/* MutateOrganizationInternalServerError describes a response with status code 500, with default header values. +/* +MutateOrganizationInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/organizations_client.go b/pkg/platform/api/mono/mono_client/organizations/organizations_client.go index 8007716b90..c232c6f3cb 100644 --- a/pkg/platform/api/mono/mono_client/organizations/organizations_client.go +++ b/pkg/platform/api/mono/mono_client/organizations/organizations_client.go @@ -86,9 +86,9 @@ type ClientService interface { } /* - AddOrganization creates a new organization +AddOrganization creates a new organization - Create a new organization +Create a new organization */ func (a *Client) AddOrganization(params *AddOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddOrganizationOK, error) { // TODO: Validate the params before sending @@ -127,9 +127,9 @@ func (a *Client) AddOrganization(params *AddOrganizationParams, authInfo runtime } /* - AddOrganizationAutoInvite adds a domain to organization auto invite +AddOrganizationAutoInvite adds a domain to organization auto invite - Add a domain to an organization's auto-invite settings +Add a domain to an organization's auto-invite settings */ func (a *Client) AddOrganizationAutoInvite(params *AddOrganizationAutoInviteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddOrganizationAutoInviteOK, error) { // TODO: Validate the params before sending @@ -168,21 +168,22 @@ func (a *Client) AddOrganizationAutoInvite(params *AddOrganizationAutoInvitePara } /* - BulkInviteOrganization bulks organization invitations + BulkInviteOrganization bulks organization invitations + + Invite many users to an organization at once. Note that while the content type - Invite many users to an organization at once. Note that while the content type must be sent as `text/plain`, the body is actually two column CSV data. First column is the role to assign them. It should be one of `admin`, `editor`, or `reader`. Second is email address. Example: - ``` - editor, person1@email.com - editor, person2@email.com - ``` - Note that quoted strings are not supported. + ``` + editor, person1@email.com + editor, person2@email.com + ``` + Note that quoted strings are not supported. */ func (a *Client) BulkInviteOrganization(params *BulkInviteOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BulkInviteOrganizationOK, error) { // TODO: Validate the params before sending @@ -221,9 +222,9 @@ func (a *Client) BulkInviteOrganization(params *BulkInviteOrganizationParams, au } /* - DeleteInvite invites a user to an organization +DeleteInvite invites a user to an organization - Revoke a user's invitation +Revoke a user's invitation */ func (a *Client) DeleteInvite(params *DeleteInviteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteInviteOK, error) { // TODO: Validate the params before sending @@ -262,9 +263,9 @@ func (a *Client) DeleteInvite(params *DeleteInviteParams, authInfo runtime.Clien } /* - DeleteOrganization deletes an organization +DeleteOrganization deletes an organization - Delete an organization +Delete an organization */ func (a *Client) DeleteOrganization(params *DeleteOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOrganizationOK, error) { // TODO: Validate the params before sending @@ -303,9 +304,9 @@ func (a *Client) DeleteOrganization(params *DeleteOrganizationParams, authInfo r } /* - DeleteOrganizationAutoInvite removes a domain from an organization s auto invite settings +DeleteOrganizationAutoInvite removes a domain from an organization s auto invite settings - Remove a domain from an organization's auto-invite settings +Remove a domain from an organization's auto-invite settings */ func (a *Client) DeleteOrganizationAutoInvite(params *DeleteOrganizationAutoInviteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOrganizationAutoInviteOK, error) { // TODO: Validate the params before sending @@ -344,9 +345,9 @@ func (a *Client) DeleteOrganizationAutoInvite(params *DeleteOrganizationAutoInvi } /* - EditBilling updates an orgs billing information +EditBilling updates an orgs billing information - Update an orgs billing information +Update an orgs billing information */ func (a *Client) EditBilling(params *EditBillingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EditBillingOK, error) { // TODO: Validate the params before sending @@ -385,9 +386,9 @@ func (a *Client) EditBilling(params *EditBillingParams, authInfo runtime.ClientA } /* - EditMember edits a member of an organization +EditMember edits a member of an organization - Edit a member of an organization +Edit a member of an organization */ func (a *Client) EditMember(params *EditMemberParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EditMemberOK, error) { // TODO: Validate the params before sending @@ -426,9 +427,9 @@ func (a *Client) EditMember(params *EditMemberParams, authInfo runtime.ClientAut } /* - EditOrganization edits an organization +EditOrganization edits an organization - Edit an organization +Edit an organization */ func (a *Client) EditOrganization(params *EditOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EditOrganizationOK, error) { // TODO: Validate the params before sending @@ -467,9 +468,9 @@ func (a *Client) EditOrganization(params *EditOrganizationParams, authInfo runti } /* - GetAdminMetadata gets admin metadata for organization +GetAdminMetadata gets admin metadata for organization - Get admin metadata +Get admin metadata */ func (a *Client) GetAdminMetadata(params *GetAdminMetadataParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAdminMetadataOK, error) { // TODO: Validate the params before sending @@ -508,9 +509,9 @@ func (a *Client) GetAdminMetadata(params *GetAdminMetadataParams, authInfo runti } /* - GetBilling retrieves an orgs billing information +GetBilling retrieves an orgs billing information - Retrieve an orgs billing information +Retrieve an orgs billing information */ func (a *Client) GetBilling(params *GetBillingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBillingOK, error) { // TODO: Validate the params before sending @@ -549,9 +550,9 @@ func (a *Client) GetBilling(params *GetBillingParams, authInfo runtime.ClientAut } /* - GetNextMutationID nexts mutation ID +GetNextMutationID nexts mutation ID - Get the id that the next mutation of this org should use +Get the id that the next mutation of this org should use */ func (a *Client) GetNextMutationID(params *GetNextMutationIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNextMutationIDOK, error) { // TODO: Validate the params before sending @@ -590,9 +591,9 @@ func (a *Client) GetNextMutationID(params *GetNextMutationIDParams, authInfo run } /* - GetOrganization retrieves an organization +GetOrganization retrieves an organization - Return a specific organization +Return a specific organization */ func (a *Client) GetOrganization(params *GetOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationOK, error) { // TODO: Validate the params before sending @@ -631,9 +632,9 @@ func (a *Client) GetOrganization(params *GetOrganizationParams, authInfo runtime } /* - GetOrganizationAutoInvite organizations auto invite settings +GetOrganizationAutoInvite organizations auto invite settings - Return organization auto-invite settings +Return organization auto-invite settings */ func (a *Client) GetOrganizationAutoInvite(params *GetOrganizationAutoInviteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationAutoInviteOK, error) { // TODO: Validate the params before sending @@ -672,9 +673,9 @@ func (a *Client) GetOrganizationAutoInvite(params *GetOrganizationAutoInvitePara } /* - GetOrganizationInvitations organizations invitations +GetOrganizationInvitations organizations invitations - Return a list of pending invitations +Return a list of pending invitations */ func (a *Client) GetOrganizationInvitations(params *GetOrganizationInvitationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationInvitationsOK, error) { // TODO: Validate the params before sending @@ -713,9 +714,9 @@ func (a *Client) GetOrganizationInvitations(params *GetOrganizationInvitationsPa } /* - GetOrganizationMembers organizations membership +GetOrganizationMembers organizations membership - Return a list of users who are members of the organization +Return a list of users who are members of the organization */ func (a *Client) GetOrganizationMembers(params *GetOrganizationMembersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationMembersOK, error) { // TODO: Validate the params before sending @@ -754,9 +755,9 @@ func (a *Client) GetOrganizationMembers(params *GetOrganizationMembersParams, au } /* - GetOrganizationMutations gets history of mutations applied to an organization +GetOrganizationMutations gets history of mutations applied to an organization - Query mutation records for the org +Query mutation records for the org */ func (a *Client) GetOrganizationMutations(params *GetOrganizationMutationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationMutationsOK, error) { // TODO: Validate the params before sending @@ -795,9 +796,9 @@ func (a *Client) GetOrganizationMutations(params *GetOrganizationMutationsParams } /* - GetOrganizationTier gets information about an organization s tier +GetOrganizationTier gets information about an organization s tier - Get information about an organization's tier +Get information about an organization's tier */ func (a *Client) GetOrganizationTier(params *GetOrganizationTierParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationTierOK, error) { // TODO: Validate the params before sending @@ -836,9 +837,9 @@ func (a *Client) GetOrganizationTier(params *GetOrganizationTierParams, authInfo } /* - InviteOrganization invites a user to an organization +InviteOrganization invites a user to an organization - Invite a user to an organization's roster +Invite a user to an organization's roster */ func (a *Client) InviteOrganization(params *InviteOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InviteOrganizationOK, error) { // TODO: Validate the params before sending @@ -877,9 +878,9 @@ func (a *Client) InviteOrganization(params *InviteOrganizationParams, authInfo r } /* - JoinOrganization joins a user to an organization +JoinOrganization joins a user to an organization - Add a user to an organization's roster +Add a user to an organization's roster */ func (a *Client) JoinOrganization(params *JoinOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*JoinOrganizationOK, error) { // TODO: Validate the params before sending @@ -918,9 +919,9 @@ func (a *Client) JoinOrganization(params *JoinOrganizationParams, authInfo runti } /* - KomodoAuthorized is user authorized to use komodo ID e +KomodoAuthorized is user authorized to use komodo ID e - Check that the authenticated user is permitted to use Komodo IDE +Check that the authenticated user is permitted to use Komodo IDE */ func (a *Client) KomodoAuthorized(params *KomodoAuthorizedParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*KomodoAuthorizedOK, error) { // TODO: Validate the params before sending @@ -959,9 +960,9 @@ func (a *Client) KomodoAuthorized(params *KomodoAuthorizedParams, authInfo runti } /* - ListOrganizations lists of visible organizations +ListOrganizations lists of visible organizations - Retrieve all organizations from the system that the user has access to +Retrieve all organizations from the system that the user has access to */ func (a *Client) ListOrganizations(params *ListOrganizationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrganizationsOK, error) { // TODO: Validate the params before sending @@ -1000,9 +1001,9 @@ func (a *Client) ListOrganizations(params *ListOrganizationsParams, authInfo run } /* - MutateOrganization mutates organization +MutateOrganization mutates organization - Perform an atomic mutation on the org +Perform an atomic mutation on the org */ func (a *Client) MutateOrganization(params *MutateOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MutateOrganizationOK, error) { // TODO: Validate the params before sending @@ -1041,9 +1042,9 @@ func (a *Client) MutateOrganization(params *MutateOrganizationParams, authInfo r } /* - QuitOrganization drops a user from an organization +QuitOrganization drops a user from an organization - Remove a user from an organization's roster +Remove a user from an organization's roster */ func (a *Client) QuitOrganization(params *QuitOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QuitOrganizationOK, error) { // TODO: Validate the params before sending @@ -1082,9 +1083,9 @@ func (a *Client) QuitOrganization(params *QuitOrganizationParams, authInfo runti } /* - SetAdminMetadata changes admin metadata for organization +SetAdminMetadata changes admin metadata for organization - Set admin metadata +Set admin metadata */ func (a *Client) SetAdminMetadata(params *SetAdminMetadataParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetAdminMetadataOK, error) { // TODO: Validate the params before sending @@ -1123,9 +1124,9 @@ func (a *Client) SetAdminMetadata(params *SetAdminMetadataParams, authInfo runti } /* - UpdateBillingDate changes billing date for organization +UpdateBillingDate changes billing date for organization - Set a new billing date +Set a new billing date */ func (a *Client) UpdateBillingDate(params *UpdateBillingDateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBillingDateOK, error) { // TODO: Validate the params before sending diff --git a/pkg/platform/api/mono/mono_client/organizations/quit_organization_parameters.go b/pkg/platform/api/mono/mono_client/organizations/quit_organization_parameters.go index 1fe0952326..79318db09a 100644 --- a/pkg/platform/api/mono/mono_client/organizations/quit_organization_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/quit_organization_parameters.go @@ -52,10 +52,12 @@ func NewQuitOrganizationParamsWithHTTPClient(client *http.Client) *QuitOrganizat } } -/* QuitOrganizationParams contains all the parameters to send to the API endpoint - for the quit organization operation. +/* +QuitOrganizationParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the quit organization operation. + + Typically these are written to a http.Request. */ type QuitOrganizationParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/quit_organization_responses.go b/pkg/platform/api/mono/mono_client/organizations/quit_organization_responses.go index a85fec7ae4..0f789e3345 100644 --- a/pkg/platform/api/mono/mono_client/organizations/quit_organization_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/quit_organization_responses.go @@ -63,7 +63,8 @@ func NewQuitOrganizationOK() *QuitOrganizationOK { return &QuitOrganizationOK{} } -/* QuitOrganizationOK describes a response with status code 200, with default header values. +/* +QuitOrganizationOK describes a response with status code 200, with default header values. Membership updated */ @@ -93,7 +94,8 @@ func NewQuitOrganizationBadRequest() *QuitOrganizationBadRequest { return &QuitOrganizationBadRequest{} } -/* QuitOrganizationBadRequest describes a response with status code 400, with default header values. +/* +QuitOrganizationBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -125,7 +127,8 @@ func NewQuitOrganizationForbidden() *QuitOrganizationForbidden { return &QuitOrganizationForbidden{} } -/* QuitOrganizationForbidden describes a response with status code 403, with default header values. +/* +QuitOrganizationForbidden describes a response with status code 403, with default header values. Unauthorized */ @@ -157,7 +160,8 @@ func NewQuitOrganizationNotFound() *QuitOrganizationNotFound { return &QuitOrganizationNotFound{} } -/* QuitOrganizationNotFound describes a response with status code 404, with default header values. +/* +QuitOrganizationNotFound describes a response with status code 404, with default header values. User or Org Not Found */ @@ -189,7 +193,8 @@ func NewQuitOrganizationInternalServerError() *QuitOrganizationInternalServerErr return &QuitOrganizationInternalServerError{} } -/* QuitOrganizationInternalServerError describes a response with status code 500, with default header values. +/* +QuitOrganizationInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/set_admin_metadata_parameters.go b/pkg/platform/api/mono/mono_client/organizations/set_admin_metadata_parameters.go index 9324351009..7779237786 100644 --- a/pkg/platform/api/mono/mono_client/organizations/set_admin_metadata_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/set_admin_metadata_parameters.go @@ -54,10 +54,12 @@ func NewSetAdminMetadataParamsWithHTTPClient(client *http.Client) *SetAdminMetad } } -/* SetAdminMetadataParams contains all the parameters to send to the API endpoint - for the set admin metadata operation. +/* +SetAdminMetadataParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the set admin metadata operation. + + Typically these are written to a http.Request. */ type SetAdminMetadataParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/set_admin_metadata_responses.go b/pkg/platform/api/mono/mono_client/organizations/set_admin_metadata_responses.go index 6d02cfadbb..d829f01ffb 100644 --- a/pkg/platform/api/mono/mono_client/organizations/set_admin_metadata_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/set_admin_metadata_responses.go @@ -63,7 +63,8 @@ func NewSetAdminMetadataOK() *SetAdminMetadataOK { return &SetAdminMetadataOK{} } -/* SetAdminMetadataOK describes a response with status code 200, with default header values. +/* +SetAdminMetadataOK describes a response with status code 200, with default header values. Success */ @@ -95,7 +96,8 @@ func NewSetAdminMetadataBadRequest() *SetAdminMetadataBadRequest { return &SetAdminMetadataBadRequest{} } -/* SetAdminMetadataBadRequest describes a response with status code 400, with default header values. +/* +SetAdminMetadataBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -127,7 +129,8 @@ func NewSetAdminMetadataForbidden() *SetAdminMetadataForbidden { return &SetAdminMetadataForbidden{} } -/* SetAdminMetadataForbidden describes a response with status code 403, with default header values. +/* +SetAdminMetadataForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -159,7 +162,8 @@ func NewSetAdminMetadataNotFound() *SetAdminMetadataNotFound { return &SetAdminMetadataNotFound{} } -/* SetAdminMetadataNotFound describes a response with status code 404, with default header values. +/* +SetAdminMetadataNotFound describes a response with status code 404, with default header values. Not Found */ @@ -191,7 +195,8 @@ func NewSetAdminMetadataInternalServerError() *SetAdminMetadataInternalServerErr return &SetAdminMetadataInternalServerError{} } -/* SetAdminMetadataInternalServerError describes a response with status code 500, with default header values. +/* +SetAdminMetadataInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/organizations/update_billing_date_parameters.go b/pkg/platform/api/mono/mono_client/organizations/update_billing_date_parameters.go index e1017c465e..0e7786bac7 100644 --- a/pkg/platform/api/mono/mono_client/organizations/update_billing_date_parameters.go +++ b/pkg/platform/api/mono/mono_client/organizations/update_billing_date_parameters.go @@ -52,10 +52,12 @@ func NewUpdateBillingDateParamsWithHTTPClient(client *http.Client) *UpdateBillin } } -/* UpdateBillingDateParams contains all the parameters to send to the API endpoint - for the update billing date operation. +/* +UpdateBillingDateParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the update billing date operation. + + Typically these are written to a http.Request. */ type UpdateBillingDateParams struct { diff --git a/pkg/platform/api/mono/mono_client/organizations/update_billing_date_responses.go b/pkg/platform/api/mono/mono_client/organizations/update_billing_date_responses.go index f79db599e6..d394545e65 100644 --- a/pkg/platform/api/mono/mono_client/organizations/update_billing_date_responses.go +++ b/pkg/platform/api/mono/mono_client/organizations/update_billing_date_responses.go @@ -65,7 +65,8 @@ func NewUpdateBillingDateOK() *UpdateBillingDateOK { return &UpdateBillingDateOK{} } -/* UpdateBillingDateOK describes a response with status code 200, with default header values. +/* +UpdateBillingDateOK describes a response with status code 200, with default header values. Billing date updated */ @@ -97,7 +98,8 @@ func NewUpdateBillingDateBadRequest() *UpdateBillingDateBadRequest { return &UpdateBillingDateBadRequest{} } -/* UpdateBillingDateBadRequest describes a response with status code 400, with default header values. +/* +UpdateBillingDateBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -129,7 +131,8 @@ func NewUpdateBillingDateForbidden() *UpdateBillingDateForbidden { return &UpdateBillingDateForbidden{} } -/* UpdateBillingDateForbidden describes a response with status code 403, with default header values. +/* +UpdateBillingDateForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -161,7 +164,8 @@ func NewUpdateBillingDateNotFound() *UpdateBillingDateNotFound { return &UpdateBillingDateNotFound{} } -/* UpdateBillingDateNotFound describes a response with status code 404, with default header values. +/* +UpdateBillingDateNotFound describes a response with status code 404, with default header values. Not Found */ @@ -193,7 +197,8 @@ func NewUpdateBillingDateInternalServerError() *UpdateBillingDateInternalServerE return &UpdateBillingDateInternalServerError{} } -/* UpdateBillingDateInternalServerError describes a response with status code 500, with default header values. +/* +UpdateBillingDateInternalServerError describes a response with status code 500, with default header values. Server Error */ @@ -220,7 +225,8 @@ func (o *UpdateBillingDateInternalServerError) readResponse(response runtime.Cli return nil } -/*UpdateBillingDateBody update billing date body +/* +UpdateBillingDateBody update billing date body swagger:model UpdateBillingDateBody */ type UpdateBillingDateBody struct { diff --git a/pkg/platform/api/mono/mono_client/projects/add_branch_parameters.go b/pkg/platform/api/mono/mono_client/projects/add_branch_parameters.go index bbe8999faa..4075d4d78d 100644 --- a/pkg/platform/api/mono/mono_client/projects/add_branch_parameters.go +++ b/pkg/platform/api/mono/mono_client/projects/add_branch_parameters.go @@ -52,10 +52,12 @@ func NewAddBranchParamsWithHTTPClient(client *http.Client) *AddBranchParams { } } -/* AddBranchParams contains all the parameters to send to the API endpoint - for the add branch operation. +/* +AddBranchParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add branch operation. + + Typically these are written to a http.Request. */ type AddBranchParams struct { diff --git a/pkg/platform/api/mono/mono_client/projects/add_branch_responses.go b/pkg/platform/api/mono/mono_client/projects/add_branch_responses.go index c2527ccbfc..59d86c149a 100644 --- a/pkg/platform/api/mono/mono_client/projects/add_branch_responses.go +++ b/pkg/platform/api/mono/mono_client/projects/add_branch_responses.go @@ -71,7 +71,8 @@ func NewAddBranchOK() *AddBranchOK { return &AddBranchOK{} } -/* AddBranchOK describes a response with status code 200, with default header values. +/* +AddBranchOK describes a response with status code 200, with default header values. Success */ @@ -103,7 +104,8 @@ func NewAddBranchBadRequest() *AddBranchBadRequest { return &AddBranchBadRequest{} } -/* AddBranchBadRequest describes a response with status code 400, with default header values. +/* +AddBranchBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -135,7 +137,8 @@ func NewAddBranchForbidden() *AddBranchForbidden { return &AddBranchForbidden{} } -/* AddBranchForbidden describes a response with status code 403, with default header values. +/* +AddBranchForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -167,7 +170,8 @@ func NewAddBranchNotFound() *AddBranchNotFound { return &AddBranchNotFound{} } -/* AddBranchNotFound describes a response with status code 404, with default header values. +/* +AddBranchNotFound describes a response with status code 404, with default header values. Not Found */ @@ -199,7 +203,8 @@ func NewAddBranchConflict() *AddBranchConflict { return &AddBranchConflict{} } -/* AddBranchConflict describes a response with status code 409, with default header values. +/* +AddBranchConflict describes a response with status code 409, with default header values. Conflict */ @@ -231,7 +236,8 @@ func NewAddBranchInternalServerError() *AddBranchInternalServerError { return &AddBranchInternalServerError{} } -/* AddBranchInternalServerError describes a response with status code 500, with default header values. +/* +AddBranchInternalServerError describes a response with status code 500, with default header values. Server Error */ @@ -258,7 +264,8 @@ func (o *AddBranchInternalServerError) readResponse(response runtime.ClientRespo return nil } -/*AddBranchBody add branch body +/* +AddBranchBody add branch body swagger:model AddBranchBody */ type AddBranchBody struct { diff --git a/pkg/platform/api/mono/mono_client/projects/add_project_parameters.go b/pkg/platform/api/mono/mono_client/projects/add_project_parameters.go index 7d421f89c7..310f13df0d 100644 --- a/pkg/platform/api/mono/mono_client/projects/add_project_parameters.go +++ b/pkg/platform/api/mono/mono_client/projects/add_project_parameters.go @@ -54,10 +54,12 @@ func NewAddProjectParamsWithHTTPClient(client *http.Client) *AddProjectParams { } } -/* AddProjectParams contains all the parameters to send to the API endpoint - for the add project operation. +/* +AddProjectParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add project operation. + + Typically these are written to a http.Request. */ type AddProjectParams struct { diff --git a/pkg/platform/api/mono/mono_client/projects/add_project_responses.go b/pkg/platform/api/mono/mono_client/projects/add_project_responses.go index 87430cf4de..0b1ab43cba 100644 --- a/pkg/platform/api/mono/mono_client/projects/add_project_responses.go +++ b/pkg/platform/api/mono/mono_client/projects/add_project_responses.go @@ -69,7 +69,8 @@ func NewAddProjectOK() *AddProjectOK { return &AddProjectOK{} } -/* AddProjectOK describes a response with status code 200, with default header values. +/* +AddProjectOK describes a response with status code 200, with default header values. Project Added */ @@ -101,7 +102,8 @@ func NewAddProjectBadRequest() *AddProjectBadRequest { return &AddProjectBadRequest{} } -/* AddProjectBadRequest describes a response with status code 400, with default header values. +/* +AddProjectBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -133,7 +135,8 @@ func NewAddProjectForbidden() *AddProjectForbidden { return &AddProjectForbidden{} } -/* AddProjectForbidden describes a response with status code 403, with default header values. +/* +AddProjectForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -165,7 +168,8 @@ func NewAddProjectNotFound() *AddProjectNotFound { return &AddProjectNotFound{} } -/* AddProjectNotFound describes a response with status code 404, with default header values. +/* +AddProjectNotFound describes a response with status code 404, with default header values. Not Found */ @@ -197,7 +201,8 @@ func NewAddProjectConflict() *AddProjectConflict { return &AddProjectConflict{} } -/* AddProjectConflict describes a response with status code 409, with default header values. +/* +AddProjectConflict describes a response with status code 409, with default header values. Conflict */ @@ -229,7 +234,8 @@ func NewAddProjectInternalServerError() *AddProjectInternalServerError { return &AddProjectInternalServerError{} } -/* AddProjectInternalServerError describes a response with status code 500, with default header values. +/* +AddProjectInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/projects/delete_project_parameters.go b/pkg/platform/api/mono/mono_client/projects/delete_project_parameters.go index 200127e16a..0e99bcee84 100644 --- a/pkg/platform/api/mono/mono_client/projects/delete_project_parameters.go +++ b/pkg/platform/api/mono/mono_client/projects/delete_project_parameters.go @@ -52,10 +52,12 @@ func NewDeleteProjectParamsWithHTTPClient(client *http.Client) *DeleteProjectPar } } -/* DeleteProjectParams contains all the parameters to send to the API endpoint - for the delete project operation. +/* +DeleteProjectParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the delete project operation. + + Typically these are written to a http.Request. */ type DeleteProjectParams struct { diff --git a/pkg/platform/api/mono/mono_client/projects/delete_project_responses.go b/pkg/platform/api/mono/mono_client/projects/delete_project_responses.go index 8309ccee5b..603c006410 100644 --- a/pkg/platform/api/mono/mono_client/projects/delete_project_responses.go +++ b/pkg/platform/api/mono/mono_client/projects/delete_project_responses.go @@ -63,7 +63,8 @@ func NewDeleteProjectOK() *DeleteProjectOK { return &DeleteProjectOK{} } -/* DeleteProjectOK describes a response with status code 200, with default header values. +/* +DeleteProjectOK describes a response with status code 200, with default header values. Project deleted */ @@ -95,7 +96,8 @@ func NewDeleteProjectBadRequest() *DeleteProjectBadRequest { return &DeleteProjectBadRequest{} } -/* DeleteProjectBadRequest describes a response with status code 400, with default header values. +/* +DeleteProjectBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -127,7 +129,8 @@ func NewDeleteProjectForbidden() *DeleteProjectForbidden { return &DeleteProjectForbidden{} } -/* DeleteProjectForbidden describes a response with status code 403, with default header values. +/* +DeleteProjectForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -159,7 +162,8 @@ func NewDeleteProjectNotFound() *DeleteProjectNotFound { return &DeleteProjectNotFound{} } -/* DeleteProjectNotFound describes a response with status code 404, with default header values. +/* +DeleteProjectNotFound describes a response with status code 404, with default header values. Not Found */ @@ -191,7 +195,8 @@ func NewDeleteProjectInternalServerError() *DeleteProjectInternalServerError { return &DeleteProjectInternalServerError{} } -/* DeleteProjectInternalServerError describes a response with status code 500, with default header values. +/* +DeleteProjectInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/projects/edit_project_parameters.go b/pkg/platform/api/mono/mono_client/projects/edit_project_parameters.go index b6a04b5eee..ef7794ca6e 100644 --- a/pkg/platform/api/mono/mono_client/projects/edit_project_parameters.go +++ b/pkg/platform/api/mono/mono_client/projects/edit_project_parameters.go @@ -54,10 +54,12 @@ func NewEditProjectParamsWithHTTPClient(client *http.Client) *EditProjectParams } } -/* EditProjectParams contains all the parameters to send to the API endpoint - for the edit project operation. +/* +EditProjectParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the edit project operation. + + Typically these are written to a http.Request. */ type EditProjectParams struct { diff --git a/pkg/platform/api/mono/mono_client/projects/edit_project_responses.go b/pkg/platform/api/mono/mono_client/projects/edit_project_responses.go index d24aba3fac..5775d13e98 100644 --- a/pkg/platform/api/mono/mono_client/projects/edit_project_responses.go +++ b/pkg/platform/api/mono/mono_client/projects/edit_project_responses.go @@ -69,7 +69,8 @@ func NewEditProjectOK() *EditProjectOK { return &EditProjectOK{} } -/* EditProjectOK describes a response with status code 200, with default header values. +/* +EditProjectOK describes a response with status code 200, with default header values. Project updated */ @@ -101,7 +102,8 @@ func NewEditProjectBadRequest() *EditProjectBadRequest { return &EditProjectBadRequest{} } -/* EditProjectBadRequest describes a response with status code 400, with default header values. +/* +EditProjectBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -133,7 +135,8 @@ func NewEditProjectForbidden() *EditProjectForbidden { return &EditProjectForbidden{} } -/* EditProjectForbidden describes a response with status code 403, with default header values. +/* +EditProjectForbidden describes a response with status code 403, with default header values. Unauthorized */ @@ -165,7 +168,8 @@ func NewEditProjectNotFound() *EditProjectNotFound { return &EditProjectNotFound{} } -/* EditProjectNotFound describes a response with status code 404, with default header values. +/* +EditProjectNotFound describes a response with status code 404, with default header values. Not Found */ @@ -197,7 +201,8 @@ func NewEditProjectConflict() *EditProjectConflict { return &EditProjectConflict{} } -/* EditProjectConflict describes a response with status code 409, with default header values. +/* +EditProjectConflict describes a response with status code 409, with default header values. Conflict */ @@ -229,7 +234,8 @@ func NewEditProjectInternalServerError() *EditProjectInternalServerError { return &EditProjectInternalServerError{} } -/* EditProjectInternalServerError describes a response with status code 500, with default header values. +/* +EditProjectInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/projects/fork_project_parameters.go b/pkg/platform/api/mono/mono_client/projects/fork_project_parameters.go index aba8c8575f..fe043f7493 100644 --- a/pkg/platform/api/mono/mono_client/projects/fork_project_parameters.go +++ b/pkg/platform/api/mono/mono_client/projects/fork_project_parameters.go @@ -52,10 +52,12 @@ func NewForkProjectParamsWithHTTPClient(client *http.Client) *ForkProjectParams } } -/* ForkProjectParams contains all the parameters to send to the API endpoint - for the fork project operation. +/* +ForkProjectParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the fork project operation. + + Typically these are written to a http.Request. */ type ForkProjectParams struct { diff --git a/pkg/platform/api/mono/mono_client/projects/fork_project_responses.go b/pkg/platform/api/mono/mono_client/projects/fork_project_responses.go index 98fcd68bc8..7c2b393495 100644 --- a/pkg/platform/api/mono/mono_client/projects/fork_project_responses.go +++ b/pkg/platform/api/mono/mono_client/projects/fork_project_responses.go @@ -73,7 +73,8 @@ func NewForkProjectOK() *ForkProjectOK { return &ForkProjectOK{} } -/* ForkProjectOK describes a response with status code 200, with default header values. +/* +ForkProjectOK describes a response with status code 200, with default header values. Project forked */ @@ -105,7 +106,8 @@ func NewForkProjectBadRequest() *ForkProjectBadRequest { return &ForkProjectBadRequest{} } -/* ForkProjectBadRequest describes a response with status code 400, with default header values. +/* +ForkProjectBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -137,7 +139,8 @@ func NewForkProjectForbidden() *ForkProjectForbidden { return &ForkProjectForbidden{} } -/* ForkProjectForbidden describes a response with status code 403, with default header values. +/* +ForkProjectForbidden describes a response with status code 403, with default header values. Unauthorized */ @@ -169,7 +172,8 @@ func NewForkProjectNotFound() *ForkProjectNotFound { return &ForkProjectNotFound{} } -/* ForkProjectNotFound describes a response with status code 404, with default header values. +/* +ForkProjectNotFound describes a response with status code 404, with default header values. Not Found */ @@ -201,7 +205,8 @@ func NewForkProjectConflict() *ForkProjectConflict { return &ForkProjectConflict{} } -/* ForkProjectConflict describes a response with status code 409, with default header values. +/* +ForkProjectConflict describes a response with status code 409, with default header values. Conflict */ @@ -233,7 +238,8 @@ func NewForkProjectInternalServerError() *ForkProjectInternalServerError { return &ForkProjectInternalServerError{} } -/* ForkProjectInternalServerError describes a response with status code 500, with default header values. +/* +ForkProjectInternalServerError describes a response with status code 500, with default header values. Server Error */ @@ -260,7 +266,8 @@ func (o *ForkProjectInternalServerError) readResponse(response runtime.ClientRes return nil } -/*ForkProjectBody fork project body +/* +ForkProjectBody fork project body swagger:model ForkProjectBody */ type ForkProjectBody struct { diff --git a/pkg/platform/api/mono/mono_client/projects/get_project_by_id_parameters.go b/pkg/platform/api/mono/mono_client/projects/get_project_by_id_parameters.go index f746611742..9ed12f11a0 100644 --- a/pkg/platform/api/mono/mono_client/projects/get_project_by_id_parameters.go +++ b/pkg/platform/api/mono/mono_client/projects/get_project_by_id_parameters.go @@ -52,10 +52,12 @@ func NewGetProjectByIDParamsWithHTTPClient(client *http.Client) *GetProjectByIDP } } -/* GetProjectByIDParams contains all the parameters to send to the API endpoint - for the get project by ID operation. +/* +GetProjectByIDParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get project by ID operation. + + Typically these are written to a http.Request. */ type GetProjectByIDParams struct { diff --git a/pkg/platform/api/mono/mono_client/projects/get_project_by_id_responses.go b/pkg/platform/api/mono/mono_client/projects/get_project_by_id_responses.go index 1794a32b64..97fae2ca55 100644 --- a/pkg/platform/api/mono/mono_client/projects/get_project_by_id_responses.go +++ b/pkg/platform/api/mono/mono_client/projects/get_project_by_id_responses.go @@ -51,7 +51,8 @@ func NewGetProjectByIDOK() *GetProjectByIDOK { return &GetProjectByIDOK{} } -/* GetProjectByIDOK describes a response with status code 200, with default header values. +/* +GetProjectByIDOK describes a response with status code 200, with default header values. Success */ @@ -83,7 +84,8 @@ func NewGetProjectByIDNotFound() *GetProjectByIDNotFound { return &GetProjectByIDNotFound{} } -/* GetProjectByIDNotFound describes a response with status code 404, with default header values. +/* +GetProjectByIDNotFound describes a response with status code 404, with default header values. Not Found */ @@ -115,7 +117,8 @@ func NewGetProjectByIDInternalServerError() *GetProjectByIDInternalServerError { return &GetProjectByIDInternalServerError{} } -/* GetProjectByIDInternalServerError describes a response with status code 500, with default header values. +/* +GetProjectByIDInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/projects/get_project_parameters.go b/pkg/platform/api/mono/mono_client/projects/get_project_parameters.go index cc297a7827..707c506c4d 100644 --- a/pkg/platform/api/mono/mono_client/projects/get_project_parameters.go +++ b/pkg/platform/api/mono/mono_client/projects/get_project_parameters.go @@ -52,10 +52,12 @@ func NewGetProjectParamsWithHTTPClient(client *http.Client) *GetProjectParams { } } -/* GetProjectParams contains all the parameters to send to the API endpoint - for the get project operation. +/* +GetProjectParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get project operation. + + Typically these are written to a http.Request. */ type GetProjectParams struct { diff --git a/pkg/platform/api/mono/mono_client/projects/get_project_responses.go b/pkg/platform/api/mono/mono_client/projects/get_project_responses.go index 70269953eb..d23a49e098 100644 --- a/pkg/platform/api/mono/mono_client/projects/get_project_responses.go +++ b/pkg/platform/api/mono/mono_client/projects/get_project_responses.go @@ -51,7 +51,8 @@ func NewGetProjectOK() *GetProjectOK { return &GetProjectOK{} } -/* GetProjectOK describes a response with status code 200, with default header values. +/* +GetProjectOK describes a response with status code 200, with default header values. Success */ @@ -83,7 +84,8 @@ func NewGetProjectNotFound() *GetProjectNotFound { return &GetProjectNotFound{} } -/* GetProjectNotFound describes a response with status code 404, with default header values. +/* +GetProjectNotFound describes a response with status code 404, with default header values. Not Found */ @@ -115,7 +117,8 @@ func NewGetProjectInternalServerError() *GetProjectInternalServerError { return &GetProjectInternalServerError{} } -/* GetProjectInternalServerError describes a response with status code 500, with default header values. +/* +GetProjectInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/projects/list_projects_parameters.go b/pkg/platform/api/mono/mono_client/projects/list_projects_parameters.go index 4f6847567f..a45d3b8ce7 100644 --- a/pkg/platform/api/mono/mono_client/projects/list_projects_parameters.go +++ b/pkg/platform/api/mono/mono_client/projects/list_projects_parameters.go @@ -52,10 +52,12 @@ func NewListProjectsParamsWithHTTPClient(client *http.Client) *ListProjectsParam } } -/* ListProjectsParams contains all the parameters to send to the API endpoint - for the list projects operation. +/* +ListProjectsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the list projects operation. + + Typically these are written to a http.Request. */ type ListProjectsParams struct { diff --git a/pkg/platform/api/mono/mono_client/projects/list_projects_responses.go b/pkg/platform/api/mono/mono_client/projects/list_projects_responses.go index dd1920c5f4..8474d070ae 100644 --- a/pkg/platform/api/mono/mono_client/projects/list_projects_responses.go +++ b/pkg/platform/api/mono/mono_client/projects/list_projects_responses.go @@ -51,7 +51,8 @@ func NewListProjectsOK() *ListProjectsOK { return &ListProjectsOK{} } -/* ListProjectsOK describes a response with status code 200, with default header values. +/* +ListProjectsOK describes a response with status code 200, with default header values. Success */ @@ -81,7 +82,8 @@ func NewListProjectsNotFound() *ListProjectsNotFound { return &ListProjectsNotFound{} } -/* ListProjectsNotFound describes a response with status code 404, with default header values. +/* +ListProjectsNotFound describes a response with status code 404, with default header values. Not Found */ @@ -113,7 +115,8 @@ func NewListProjectsInternalServerError() *ListProjectsInternalServerError { return &ListProjectsInternalServerError{} } -/* ListProjectsInternalServerError describes a response with status code 500, with default header values. +/* +ListProjectsInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/projects/move_project_parameters.go b/pkg/platform/api/mono/mono_client/projects/move_project_parameters.go index eb85f1f039..a6e07b2957 100644 --- a/pkg/platform/api/mono/mono_client/projects/move_project_parameters.go +++ b/pkg/platform/api/mono/mono_client/projects/move_project_parameters.go @@ -52,10 +52,12 @@ func NewMoveProjectParamsWithHTTPClient(client *http.Client) *MoveProjectParams } } -/* MoveProjectParams contains all the parameters to send to the API endpoint - for the move project operation. +/* +MoveProjectParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the move project operation. + + Typically these are written to a http.Request. */ type MoveProjectParams struct { diff --git a/pkg/platform/api/mono/mono_client/projects/move_project_responses.go b/pkg/platform/api/mono/mono_client/projects/move_project_responses.go index 0a832a9b53..6cca65c876 100644 --- a/pkg/platform/api/mono/mono_client/projects/move_project_responses.go +++ b/pkg/platform/api/mono/mono_client/projects/move_project_responses.go @@ -71,7 +71,8 @@ func NewMoveProjectOK() *MoveProjectOK { return &MoveProjectOK{} } -/* MoveProjectOK describes a response with status code 200, with default header values. +/* +MoveProjectOK describes a response with status code 200, with default header values. Project moved */ @@ -103,7 +104,8 @@ func NewMoveProjectBadRequest() *MoveProjectBadRequest { return &MoveProjectBadRequest{} } -/* MoveProjectBadRequest describes a response with status code 400, with default header values. +/* +MoveProjectBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -135,7 +137,8 @@ func NewMoveProjectForbidden() *MoveProjectForbidden { return &MoveProjectForbidden{} } -/* MoveProjectForbidden describes a response with status code 403, with default header values. +/* +MoveProjectForbidden describes a response with status code 403, with default header values. Unauthorized */ @@ -167,7 +170,8 @@ func NewMoveProjectNotFound() *MoveProjectNotFound { return &MoveProjectNotFound{} } -/* MoveProjectNotFound describes a response with status code 404, with default header values. +/* +MoveProjectNotFound describes a response with status code 404, with default header values. Not Found */ @@ -199,7 +203,8 @@ func NewMoveProjectConflict() *MoveProjectConflict { return &MoveProjectConflict{} } -/* MoveProjectConflict describes a response with status code 409, with default header values. +/* +MoveProjectConflict describes a response with status code 409, with default header values. Conflict */ @@ -231,7 +236,8 @@ func NewMoveProjectInternalServerError() *MoveProjectInternalServerError { return &MoveProjectInternalServerError{} } -/* MoveProjectInternalServerError describes a response with status code 500, with default header values. +/* +MoveProjectInternalServerError describes a response with status code 500, with default header values. Server Error */ @@ -258,7 +264,8 @@ func (o *MoveProjectInternalServerError) readResponse(response runtime.ClientRes return nil } -/*MoveProjectBody move project body +/* +MoveProjectBody move project body swagger:model MoveProjectBody */ type MoveProjectBody struct { diff --git a/pkg/platform/api/mono/mono_client/projects/projects_client.go b/pkg/platform/api/mono/mono_client/projects/projects_client.go index c654fc8741..bfe913efd9 100644 --- a/pkg/platform/api/mono/mono_client/projects/projects_client.go +++ b/pkg/platform/api/mono/mono_client/projects/projects_client.go @@ -52,9 +52,9 @@ type ClientService interface { } /* - AddBranch adds branch +AddBranch adds branch - Add a branch on the specified project +Add a branch on the specified project */ func (a *Client) AddBranch(params *AddBranchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddBranchOK, error) { // TODO: Validate the params before sending @@ -93,9 +93,9 @@ func (a *Client) AddBranch(params *AddBranchParams, authInfo runtime.ClientAuthI } /* - AddProject creates a project +AddProject creates a project - Add a new project to an organization +Add a new project to an organization */ func (a *Client) AddProject(params *AddProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddProjectOK, error) { // TODO: Validate the params before sending @@ -134,9 +134,9 @@ func (a *Client) AddProject(params *AddProjectParams, authInfo runtime.ClientAut } /* - DeleteProject deletes a project +DeleteProject deletes a project - Delete a Project +Delete a Project */ func (a *Client) DeleteProject(params *DeleteProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProjectOK, error) { // TODO: Validate the params before sending @@ -175,9 +175,9 @@ func (a *Client) DeleteProject(params *DeleteProjectParams, authInfo runtime.Cli } /* - EditProject edits a project +EditProject edits a project - Edit a project +Edit a project */ func (a *Client) EditProject(params *EditProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EditProjectOK, error) { // TODO: Validate the params before sending @@ -216,9 +216,9 @@ func (a *Client) EditProject(params *EditProjectParams, authInfo runtime.ClientA } /* - ForkProject forks a project +ForkProject forks a project - Fork a project +Fork a project */ func (a *Client) ForkProject(params *ForkProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ForkProjectOK, error) { // TODO: Validate the params before sending @@ -257,9 +257,9 @@ func (a *Client) ForkProject(params *ForkProjectParams, authInfo runtime.ClientA } /* - GetProject organizations project info +GetProject organizations project info - Get project details +Get project details */ func (a *Client) GetProject(params *GetProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectOK, error) { // TODO: Validate the params before sending @@ -298,9 +298,9 @@ func (a *Client) GetProject(params *GetProjectParams, authInfo runtime.ClientAut } /* - GetProjectByID projects info +GetProjectByID projects info - Get project details by ID +Get project details by ID */ func (a *Client) GetProjectByID(params *GetProjectByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectByIDOK, error) { // TODO: Validate the params before sending @@ -339,9 +339,9 @@ func (a *Client) GetProjectByID(params *GetProjectByIDParams, authInfo runtime.C } /* - ListProjects organizations projects +ListProjects organizations projects - Return a list of projects for an organization +Return a list of projects for an organization */ func (a *Client) ListProjects(params *ListProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectsOK, error) { // TODO: Validate the params before sending @@ -380,9 +380,9 @@ func (a *Client) ListProjects(params *ListProjectsParams, authInfo runtime.Clien } /* - MoveProject moves a project to a different organization +MoveProject moves a project to a different organization - Move a project to a different organization +Move a project to a different organization */ func (a *Client) MoveProject(params *MoveProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MoveProjectOK, error) { // TODO: Validate the params before sending diff --git a/pkg/platform/api/mono/mono_client/s3/s3_client.go b/pkg/platform/api/mono/mono_client/s3/s3_client.go index cee4c04aac..0926081920 100644 --- a/pkg/platform/api/mono/mono_client/s3/s3_client.go +++ b/pkg/platform/api/mono/mono_client/s3/s3_client.go @@ -36,9 +36,9 @@ type ClientService interface { } /* - SignS3URI signs an s3 URI +SignS3URI signs an s3 URI - Returns a signed, limited-duration S3 URI +Returns a signed, limited-duration S3 URI */ func (a *Client) SignS3URI(params *SignS3URIParams, opts ...ClientOption) (*SignS3URIOK, error) { // TODO: Validate the params before sending diff --git a/pkg/platform/api/mono/mono_client/s3/sign_s3_uri_parameters.go b/pkg/platform/api/mono/mono_client/s3/sign_s3_uri_parameters.go index a443ebb6db..5f177d5ed8 100644 --- a/pkg/platform/api/mono/mono_client/s3/sign_s3_uri_parameters.go +++ b/pkg/platform/api/mono/mono_client/s3/sign_s3_uri_parameters.go @@ -52,10 +52,12 @@ func NewSignS3URIParamsWithHTTPClient(client *http.Client) *SignS3URIParams { } } -/* SignS3URIParams contains all the parameters to send to the API endpoint - for the sign s3 URI operation. +/* +SignS3URIParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the sign s3 URI operation. + + Typically these are written to a http.Request. */ type SignS3URIParams struct { diff --git a/pkg/platform/api/mono/mono_client/s3/sign_s3_uri_responses.go b/pkg/platform/api/mono/mono_client/s3/sign_s3_uri_responses.go index ee29ec130c..62082cdc73 100644 --- a/pkg/platform/api/mono/mono_client/s3/sign_s3_uri_responses.go +++ b/pkg/platform/api/mono/mono_client/s3/sign_s3_uri_responses.go @@ -57,7 +57,8 @@ func NewSignS3URIOK() *SignS3URIOK { return &SignS3URIOK{} } -/* SignS3URIOK describes a response with status code 200, with default header values. +/* +SignS3URIOK describes a response with status code 200, with default header values. Success */ @@ -89,7 +90,8 @@ func NewSignS3URIBadRequest() *SignS3URIBadRequest { return &SignS3URIBadRequest{} } -/* SignS3URIBadRequest describes a response with status code 400, with default header values. +/* +SignS3URIBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -121,7 +123,8 @@ func NewSignS3URIForbidden() *SignS3URIForbidden { return &SignS3URIForbidden{} } -/* SignS3URIForbidden describes a response with status code 403, with default header values. +/* +SignS3URIForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -153,7 +156,8 @@ func NewSignS3URIInternalServerError() *SignS3URIInternalServerError { return &SignS3URIInternalServerError{} } -/* SignS3URIInternalServerError describes a response with status code 500, with default header values. +/* +SignS3URIInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/status/get_info_parameters.go b/pkg/platform/api/mono/mono_client/status/get_info_parameters.go index aad041a3dc..b17f18882d 100644 --- a/pkg/platform/api/mono/mono_client/status/get_info_parameters.go +++ b/pkg/platform/api/mono/mono_client/status/get_info_parameters.go @@ -52,10 +52,12 @@ func NewGetInfoParamsWithHTTPClient(client *http.Client) *GetInfoParams { } } -/* GetInfoParams contains all the parameters to send to the API endpoint - for the get info operation. +/* +GetInfoParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get info operation. + + Typically these are written to a http.Request. */ type GetInfoParams struct { diff --git a/pkg/platform/api/mono/mono_client/status/get_info_responses.go b/pkg/platform/api/mono/mono_client/status/get_info_responses.go index 7100a397dd..77291eb549 100644 --- a/pkg/platform/api/mono/mono_client/status/get_info_responses.go +++ b/pkg/platform/api/mono/mono_client/status/get_info_responses.go @@ -51,7 +51,8 @@ func NewGetInfoOK() *GetInfoOK { return &GetInfoOK{} } -/* GetInfoOK describes a response with status code 200, with default header values. +/* +GetInfoOK describes a response with status code 200, with default header values. Success */ @@ -83,7 +84,8 @@ func NewGetInfoUnauthorized() *GetInfoUnauthorized { return &GetInfoUnauthorized{} } -/* GetInfoUnauthorized describes a response with status code 401, with default header values. +/* +GetInfoUnauthorized describes a response with status code 401, with default header values. Unauthenticated */ @@ -115,7 +117,8 @@ func NewGetInfoForbidden() *GetInfoForbidden { return &GetInfoForbidden{} } -/* GetInfoForbidden describes a response with status code 403, with default header values. +/* +GetInfoForbidden describes a response with status code 403, with default header values. Unauthorized */ diff --git a/pkg/platform/api/mono/mono_client/status/status_client.go b/pkg/platform/api/mono/mono_client/status/status_client.go index 6956e79a42..ab1fae9dfe 100644 --- a/pkg/platform/api/mono/mono_client/status/status_client.go +++ b/pkg/platform/api/mono/mono_client/status/status_client.go @@ -38,9 +38,9 @@ type ClientService interface { } /* - GetInfo tests method for developer testing +GetInfo tests method for developer testing - Helpful for testing JWT operation +Helpful for testing JWT operation */ func (a *Client) GetInfo(params *GetInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInfoOK, error) { // TODO: Validate the params before sending @@ -79,9 +79,9 @@ func (a *Client) GetInfo(params *GetInfoParams, authInfo runtime.ClientAuthInfoW } /* - Usage reports platform usage statistics +Usage reports platform usage statistics - Active users by date range +Active users by date range */ func (a *Client) Usage(params *UsageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UsageOK, error) { // TODO: Validate the params before sending diff --git a/pkg/platform/api/mono/mono_client/status/usage_parameters.go b/pkg/platform/api/mono/mono_client/status/usage_parameters.go index f293b92d6c..7ac6469094 100644 --- a/pkg/platform/api/mono/mono_client/status/usage_parameters.go +++ b/pkg/platform/api/mono/mono_client/status/usage_parameters.go @@ -53,10 +53,12 @@ func NewUsageParamsWithHTTPClient(client *http.Client) *UsageParams { } } -/* UsageParams contains all the parameters to send to the API endpoint - for the usage operation. +/* +UsageParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the usage operation. + + Typically these are written to a http.Request. */ type UsageParams struct { diff --git a/pkg/platform/api/mono/mono_client/status/usage_responses.go b/pkg/platform/api/mono/mono_client/status/usage_responses.go index 67197b8768..7a205217a9 100644 --- a/pkg/platform/api/mono/mono_client/status/usage_responses.go +++ b/pkg/platform/api/mono/mono_client/status/usage_responses.go @@ -51,7 +51,8 @@ func NewUsageOK() *UsageOK { return &UsageOK{} } -/* UsageOK describes a response with status code 200, with default header values. +/* +UsageOK describes a response with status code 200, with default header values. Success */ @@ -83,7 +84,8 @@ func NewUsageBadRequest() *UsageBadRequest { return &UsageBadRequest{} } -/* UsageBadRequest describes a response with status code 400, with default header values. +/* +UsageBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -115,7 +117,8 @@ func NewUsageForbidden() *UsageForbidden { return &UsageForbidden{} } -/* UsageForbidden describes a response with status code 403, with default header values. +/* +UsageForbidden describes a response with status code 403, with default header values. Unauthorized */ diff --git a/pkg/platform/api/mono/mono_client/tiers/get_add_ons_parameters.go b/pkg/platform/api/mono/mono_client/tiers/get_add_ons_parameters.go index 0f4c3cb5b4..6887a2d5b3 100644 --- a/pkg/platform/api/mono/mono_client/tiers/get_add_ons_parameters.go +++ b/pkg/platform/api/mono/mono_client/tiers/get_add_ons_parameters.go @@ -52,10 +52,12 @@ func NewGetAddOnsParamsWithHTTPClient(client *http.Client) *GetAddOnsParams { } } -/* GetAddOnsParams contains all the parameters to send to the API endpoint - for the get add ons operation. +/* +GetAddOnsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get add ons operation. + + Typically these are written to a http.Request. */ type GetAddOnsParams struct { timeout time.Duration diff --git a/pkg/platform/api/mono/mono_client/tiers/get_add_ons_responses.go b/pkg/platform/api/mono/mono_client/tiers/get_add_ons_responses.go index e961959aca..efaab00117 100644 --- a/pkg/platform/api/mono/mono_client/tiers/get_add_ons_responses.go +++ b/pkg/platform/api/mono/mono_client/tiers/get_add_ons_responses.go @@ -51,7 +51,8 @@ func NewGetAddOnsOK() *GetAddOnsOK { return &GetAddOnsOK{} } -/* GetAddOnsOK describes a response with status code 200, with default header values. +/* +GetAddOnsOK describes a response with status code 200, with default header values. Success */ @@ -81,7 +82,8 @@ func NewGetAddOnsForbidden() *GetAddOnsForbidden { return &GetAddOnsForbidden{} } -/* GetAddOnsForbidden describes a response with status code 403, with default header values. +/* +GetAddOnsForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -113,7 +115,8 @@ func NewGetAddOnsInternalServerError() *GetAddOnsInternalServerError { return &GetAddOnsInternalServerError{} } -/* GetAddOnsInternalServerError describes a response with status code 500, with default header values. +/* +GetAddOnsInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/tiers/get_tiers_parameters.go b/pkg/platform/api/mono/mono_client/tiers/get_tiers_parameters.go index a2ab0f10bc..1757113a4b 100644 --- a/pkg/platform/api/mono/mono_client/tiers/get_tiers_parameters.go +++ b/pkg/platform/api/mono/mono_client/tiers/get_tiers_parameters.go @@ -52,10 +52,12 @@ func NewGetTiersParamsWithHTTPClient(client *http.Client) *GetTiersParams { } } -/* GetTiersParams contains all the parameters to send to the API endpoint - for the get tiers operation. +/* +GetTiersParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get tiers operation. + + Typically these are written to a http.Request. */ type GetTiersParams struct { timeout time.Duration diff --git a/pkg/platform/api/mono/mono_client/tiers/get_tiers_pricing_parameters.go b/pkg/platform/api/mono/mono_client/tiers/get_tiers_pricing_parameters.go index fd683cd5be..f4210948f0 100644 --- a/pkg/platform/api/mono/mono_client/tiers/get_tiers_pricing_parameters.go +++ b/pkg/platform/api/mono/mono_client/tiers/get_tiers_pricing_parameters.go @@ -52,10 +52,12 @@ func NewGetTiersPricingParamsWithHTTPClient(client *http.Client) *GetTiersPricin } } -/* GetTiersPricingParams contains all the parameters to send to the API endpoint - for the get tiers pricing operation. +/* +GetTiersPricingParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get tiers pricing operation. + + Typically these are written to a http.Request. */ type GetTiersPricingParams struct { timeout time.Duration diff --git a/pkg/platform/api/mono/mono_client/tiers/get_tiers_pricing_responses.go b/pkg/platform/api/mono/mono_client/tiers/get_tiers_pricing_responses.go index 34bd525cf2..ea51e20ae4 100644 --- a/pkg/platform/api/mono/mono_client/tiers/get_tiers_pricing_responses.go +++ b/pkg/platform/api/mono/mono_client/tiers/get_tiers_pricing_responses.go @@ -57,7 +57,8 @@ func NewGetTiersPricingOK() *GetTiersPricingOK { return &GetTiersPricingOK{} } -/* GetTiersPricingOK describes a response with status code 200, with default header values. +/* +GetTiersPricingOK describes a response with status code 200, with default header values. Success */ @@ -87,7 +88,8 @@ func NewGetTiersPricingForbidden() *GetTiersPricingForbidden { return &GetTiersPricingForbidden{} } -/* GetTiersPricingForbidden describes a response with status code 403, with default header values. +/* +GetTiersPricingForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -119,7 +121,8 @@ func NewGetTiersPricingNotFound() *GetTiersPricingNotFound { return &GetTiersPricingNotFound{} } -/* GetTiersPricingNotFound describes a response with status code 404, with default header values. +/* +GetTiersPricingNotFound describes a response with status code 404, with default header values. No tiers available */ @@ -151,7 +154,8 @@ func NewGetTiersPricingInternalServerError() *GetTiersPricingInternalServerError return &GetTiersPricingInternalServerError{} } -/* GetTiersPricingInternalServerError describes a response with status code 500, with default header values. +/* +GetTiersPricingInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/tiers/get_tiers_responses.go b/pkg/platform/api/mono/mono_client/tiers/get_tiers_responses.go index 836c67510c..0f730e26e0 100644 --- a/pkg/platform/api/mono/mono_client/tiers/get_tiers_responses.go +++ b/pkg/platform/api/mono/mono_client/tiers/get_tiers_responses.go @@ -57,7 +57,8 @@ func NewGetTiersOK() *GetTiersOK { return &GetTiersOK{} } -/* GetTiersOK describes a response with status code 200, with default header values. +/* +GetTiersOK describes a response with status code 200, with default header values. Success */ @@ -87,7 +88,8 @@ func NewGetTiersForbidden() *GetTiersForbidden { return &GetTiersForbidden{} } -/* GetTiersForbidden describes a response with status code 403, with default header values. +/* +GetTiersForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -119,7 +121,8 @@ func NewGetTiersNotFound() *GetTiersNotFound { return &GetTiersNotFound{} } -/* GetTiersNotFound describes a response with status code 404, with default header values. +/* +GetTiersNotFound describes a response with status code 404, with default header values. No tiers available */ @@ -151,7 +154,8 @@ func NewGetTiersInternalServerError() *GetTiersInternalServerError { return &GetTiersInternalServerError{} } -/* GetTiersInternalServerError describes a response with status code 500, with default header values. +/* +GetTiersInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/tiers/set_add_on_default_parameters.go b/pkg/platform/api/mono/mono_client/tiers/set_add_on_default_parameters.go index f65c948845..8576b6a497 100644 --- a/pkg/platform/api/mono/mono_client/tiers/set_add_on_default_parameters.go +++ b/pkg/platform/api/mono/mono_client/tiers/set_add_on_default_parameters.go @@ -54,10 +54,12 @@ func NewSetAddOnDefaultParamsWithHTTPClient(client *http.Client) *SetAddOnDefaul } } -/* SetAddOnDefaultParams contains all the parameters to send to the API endpoint - for the set add on default operation. +/* +SetAddOnDefaultParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the set add on default operation. + + Typically these are written to a http.Request. */ type SetAddOnDefaultParams struct { diff --git a/pkg/platform/api/mono/mono_client/tiers/set_add_on_default_responses.go b/pkg/platform/api/mono/mono_client/tiers/set_add_on_default_responses.go index 3f205c253c..b2b95f8c48 100644 --- a/pkg/platform/api/mono/mono_client/tiers/set_add_on_default_responses.go +++ b/pkg/platform/api/mono/mono_client/tiers/set_add_on_default_responses.go @@ -63,7 +63,8 @@ func NewSetAddOnDefaultOK() *SetAddOnDefaultOK { return &SetAddOnDefaultOK{} } -/* SetAddOnDefaultOK describes a response with status code 200, with default header values. +/* +SetAddOnDefaultOK describes a response with status code 200, with default header values. Success */ @@ -95,7 +96,8 @@ func NewSetAddOnDefaultBadRequest() *SetAddOnDefaultBadRequest { return &SetAddOnDefaultBadRequest{} } -/* SetAddOnDefaultBadRequest describes a response with status code 400, with default header values. +/* +SetAddOnDefaultBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -127,7 +129,8 @@ func NewSetAddOnDefaultForbidden() *SetAddOnDefaultForbidden { return &SetAddOnDefaultForbidden{} } -/* SetAddOnDefaultForbidden describes a response with status code 403, with default header values. +/* +SetAddOnDefaultForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -159,7 +162,8 @@ func NewSetAddOnDefaultNotFound() *SetAddOnDefaultNotFound { return &SetAddOnDefaultNotFound{} } -/* SetAddOnDefaultNotFound describes a response with status code 404, with default header values. +/* +SetAddOnDefaultNotFound describes a response with status code 404, with default header values. Not Found */ @@ -191,7 +195,8 @@ func NewSetAddOnDefaultInternalServerError() *SetAddOnDefaultInternalServerError return &SetAddOnDefaultInternalServerError{} } -/* SetAddOnDefaultInternalServerError describes a response with status code 500, with default header values. +/* +SetAddOnDefaultInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/tiers/tiers_client.go b/pkg/platform/api/mono/mono_client/tiers/tiers_client.go index e1439a3421..6cb544325a 100644 --- a/pkg/platform/api/mono/mono_client/tiers/tiers_client.go +++ b/pkg/platform/api/mono/mono_client/tiers/tiers_client.go @@ -42,7 +42,7 @@ type ClientService interface { } /* - GetAddOns gets information about all available add ons +GetAddOns gets information about all available add ons */ func (a *Client) GetAddOns(params *GetAddOnsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAddOnsOK, error) { // TODO: Validate the params before sending @@ -81,7 +81,7 @@ func (a *Client) GetAddOns(params *GetAddOnsParams, authInfo runtime.ClientAuthI } /* - GetTiers gets information about all available tiers +GetTiers gets information about all available tiers */ func (a *Client) GetTiers(params *GetTiersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTiersOK, error) { // TODO: Validate the params before sending @@ -120,7 +120,7 @@ func (a *Client) GetTiers(params *GetTiersParams, authInfo runtime.ClientAuthInf } /* - GetTiersPricing gets information about all available tiers including their price in dollars per active runtime per year +GetTiersPricing gets information about all available tiers including their price in dollars per active runtime per year */ func (a *Client) GetTiersPricing(params *GetTiersPricingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTiersPricingOK, error) { // TODO: Validate the params before sending @@ -159,7 +159,7 @@ func (a *Client) GetTiersPricing(params *GetTiersPricingParams, authInfo runtime } /* - SetAddOnDefault sets default state of add on for a tier +SetAddOnDefault sets default state of add on for a tier */ func (a *Client) SetAddOnDefault(params *SetAddOnDefaultParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetAddOnDefaultOK, error) { // TODO: Validate the params before sending diff --git a/pkg/platform/api/mono/mono_client/users/add_email_parameters.go b/pkg/platform/api/mono/mono_client/users/add_email_parameters.go index 566aae1ec9..92d8abb33b 100644 --- a/pkg/platform/api/mono/mono_client/users/add_email_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/add_email_parameters.go @@ -52,10 +52,12 @@ func NewAddEmailParamsWithHTTPClient(client *http.Client) *AddEmailParams { } } -/* AddEmailParams contains all the parameters to send to the API endpoint - for the add email operation. +/* +AddEmailParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add email operation. + + Typically these are written to a http.Request. */ type AddEmailParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/add_email_responses.go b/pkg/platform/api/mono/mono_client/users/add_email_responses.go index 383462f34c..c3904059a5 100644 --- a/pkg/platform/api/mono/mono_client/users/add_email_responses.go +++ b/pkg/platform/api/mono/mono_client/users/add_email_responses.go @@ -71,7 +71,8 @@ func NewAddEmailOK() *AddEmailOK { return &AddEmailOK{} } -/* AddEmailOK describes a response with status code 200, with default header values. +/* +AddEmailOK describes a response with status code 200, with default header values. Email added */ @@ -103,7 +104,8 @@ func NewAddEmailBadRequest() *AddEmailBadRequest { return &AddEmailBadRequest{} } -/* AddEmailBadRequest describes a response with status code 400, with default header values. +/* +AddEmailBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -135,7 +137,8 @@ func NewAddEmailForbidden() *AddEmailForbidden { return &AddEmailForbidden{} } -/* AddEmailForbidden describes a response with status code 403, with default header values. +/* +AddEmailForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -167,7 +170,8 @@ func NewAddEmailNotFound() *AddEmailNotFound { return &AddEmailNotFound{} } -/* AddEmailNotFound describes a response with status code 404, with default header values. +/* +AddEmailNotFound describes a response with status code 404, with default header values. Not Found */ @@ -199,7 +203,8 @@ func NewAddEmailConflict() *AddEmailConflict { return &AddEmailConflict{} } -/* AddEmailConflict describes a response with status code 409, with default header values. +/* +AddEmailConflict describes a response with status code 409, with default header values. Conflict */ @@ -231,7 +236,8 @@ func NewAddEmailInternalServerError() *AddEmailInternalServerError { return &AddEmailInternalServerError{} } -/* AddEmailInternalServerError describes a response with status code 500, with default header values. +/* +AddEmailInternalServerError describes a response with status code 500, with default header values. Server Error */ @@ -258,7 +264,8 @@ func (o *AddEmailInternalServerError) readResponse(response runtime.ClientRespon return nil } -/*AddEmailBody add email body +/* +AddEmailBody add email body swagger:model AddEmailBody */ type AddEmailBody struct { diff --git a/pkg/platform/api/mono/mono_client/users/add_user_parameters.go b/pkg/platform/api/mono/mono_client/users/add_user_parameters.go index 18e0915c9c..de9b9c5732 100644 --- a/pkg/platform/api/mono/mono_client/users/add_user_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/add_user_parameters.go @@ -54,10 +54,12 @@ func NewAddUserParamsWithHTTPClient(client *http.Client) *AddUserParams { } } -/* AddUserParams contains all the parameters to send to the API endpoint - for the add user operation. +/* +AddUserParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add user operation. + + Typically these are written to a http.Request. */ type AddUserParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/add_user_responses.go b/pkg/platform/api/mono/mono_client/users/add_user_responses.go index d2920c89d2..bfe9e731b1 100644 --- a/pkg/platform/api/mono/mono_client/users/add_user_responses.go +++ b/pkg/platform/api/mono/mono_client/users/add_user_responses.go @@ -57,7 +57,8 @@ func NewAddUserOK() *AddUserOK { return &AddUserOK{} } -/* AddUserOK describes a response with status code 200, with default header values. +/* +AddUserOK describes a response with status code 200, with default header values. Successfully Created */ @@ -89,7 +90,8 @@ func NewAddUserBadRequest() *AddUserBadRequest { return &AddUserBadRequest{} } -/* AddUserBadRequest describes a response with status code 400, with default header values. +/* +AddUserBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -121,7 +123,8 @@ func NewAddUserConflict() *AddUserConflict { return &AddUserConflict{} } -/* AddUserConflict describes a response with status code 409, with default header values. +/* +AddUserConflict describes a response with status code 409, with default header values. Conflict */ @@ -153,7 +156,8 @@ func NewAddUserInternalServerError() *AddUserInternalServerError { return &AddUserInternalServerError{} } -/* AddUserInternalServerError describes a response with status code 500, with default header values. +/* +AddUserInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/users/delete_email_parameters.go b/pkg/platform/api/mono/mono_client/users/delete_email_parameters.go index 2831cee7f2..3065cf3a4a 100644 --- a/pkg/platform/api/mono/mono_client/users/delete_email_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/delete_email_parameters.go @@ -52,10 +52,12 @@ func NewDeleteEmailParamsWithHTTPClient(client *http.Client) *DeleteEmailParams } } -/* DeleteEmailParams contains all the parameters to send to the API endpoint - for the delete email operation. +/* +DeleteEmailParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the delete email operation. + + Typically these are written to a http.Request. */ type DeleteEmailParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/delete_email_responses.go b/pkg/platform/api/mono/mono_client/users/delete_email_responses.go index a00b3fb23d..95c4235f98 100644 --- a/pkg/platform/api/mono/mono_client/users/delete_email_responses.go +++ b/pkg/platform/api/mono/mono_client/users/delete_email_responses.go @@ -65,7 +65,8 @@ func NewDeleteEmailOK() *DeleteEmailOK { return &DeleteEmailOK{} } -/* DeleteEmailOK describes a response with status code 200, with default header values. +/* +DeleteEmailOK describes a response with status code 200, with default header values. Email deleted */ @@ -97,7 +98,8 @@ func NewDeleteEmailBadRequest() *DeleteEmailBadRequest { return &DeleteEmailBadRequest{} } -/* DeleteEmailBadRequest describes a response with status code 400, with default header values. +/* +DeleteEmailBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -129,7 +131,8 @@ func NewDeleteEmailForbidden() *DeleteEmailForbidden { return &DeleteEmailForbidden{} } -/* DeleteEmailForbidden describes a response with status code 403, with default header values. +/* +DeleteEmailForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -161,7 +164,8 @@ func NewDeleteEmailNotFound() *DeleteEmailNotFound { return &DeleteEmailNotFound{} } -/* DeleteEmailNotFound describes a response with status code 404, with default header values. +/* +DeleteEmailNotFound describes a response with status code 404, with default header values. Not Found */ @@ -193,7 +197,8 @@ func NewDeleteEmailInternalServerError() *DeleteEmailInternalServerError { return &DeleteEmailInternalServerError{} } -/* DeleteEmailInternalServerError describes a response with status code 500, with default header values. +/* +DeleteEmailInternalServerError describes a response with status code 500, with default header values. Server Error */ @@ -220,7 +225,8 @@ func (o *DeleteEmailInternalServerError) readResponse(response runtime.ClientRes return nil } -/*DeleteEmailBody delete email body +/* +DeleteEmailBody delete email body swagger:model DeleteEmailBody */ type DeleteEmailBody struct { diff --git a/pkg/platform/api/mono/mono_client/users/delete_user_parameters.go b/pkg/platform/api/mono/mono_client/users/delete_user_parameters.go index 2c8a71c7c0..429f168db8 100644 --- a/pkg/platform/api/mono/mono_client/users/delete_user_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/delete_user_parameters.go @@ -52,10 +52,12 @@ func NewDeleteUserParamsWithHTTPClient(client *http.Client) *DeleteUserParams { } } -/* DeleteUserParams contains all the parameters to send to the API endpoint - for the delete user operation. +/* +DeleteUserParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the delete user operation. + + Typically these are written to a http.Request. */ type DeleteUserParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/delete_user_responses.go b/pkg/platform/api/mono/mono_client/users/delete_user_responses.go index bf5b04b042..7be7e91e14 100644 --- a/pkg/platform/api/mono/mono_client/users/delete_user_responses.go +++ b/pkg/platform/api/mono/mono_client/users/delete_user_responses.go @@ -63,7 +63,8 @@ func NewDeleteUserOK() *DeleteUserOK { return &DeleteUserOK{} } -/* DeleteUserOK describes a response with status code 200, with default header values. +/* +DeleteUserOK describes a response with status code 200, with default header values. User deleted */ @@ -95,7 +96,8 @@ func NewDeleteUserBadRequest() *DeleteUserBadRequest { return &DeleteUserBadRequest{} } -/* DeleteUserBadRequest describes a response with status code 400, with default header values. +/* +DeleteUserBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -127,7 +129,8 @@ func NewDeleteUserForbidden() *DeleteUserForbidden { return &DeleteUserForbidden{} } -/* DeleteUserForbidden describes a response with status code 403, with default header values. +/* +DeleteUserForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -159,7 +162,8 @@ func NewDeleteUserNotFound() *DeleteUserNotFound { return &DeleteUserNotFound{} } -/* DeleteUserNotFound describes a response with status code 404, with default header values. +/* +DeleteUserNotFound describes a response with status code 404, with default header values. Not Found */ @@ -191,7 +195,8 @@ func NewDeleteUserInternalServerError() *DeleteUserInternalServerError { return &DeleteUserInternalServerError{} } -/* DeleteUserInternalServerError describes a response with status code 500, with default header values. +/* +DeleteUserInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/users/edit_user_parameters.go b/pkg/platform/api/mono/mono_client/users/edit_user_parameters.go index f0efabcd5c..5ae5eb3538 100644 --- a/pkg/platform/api/mono/mono_client/users/edit_user_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/edit_user_parameters.go @@ -54,10 +54,12 @@ func NewEditUserParamsWithHTTPClient(client *http.Client) *EditUserParams { } } -/* EditUserParams contains all the parameters to send to the API endpoint - for the edit user operation. +/* +EditUserParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the edit user operation. + + Typically these are written to a http.Request. */ type EditUserParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/edit_user_responses.go b/pkg/platform/api/mono/mono_client/users/edit_user_responses.go index cca210bb4a..78c8a6828a 100644 --- a/pkg/platform/api/mono/mono_client/users/edit_user_responses.go +++ b/pkg/platform/api/mono/mono_client/users/edit_user_responses.go @@ -63,7 +63,8 @@ func NewEditUserOK() *EditUserOK { return &EditUserOK{} } -/* EditUserOK describes a response with status code 200, with default header values. +/* +EditUserOK describes a response with status code 200, with default header values. User updated */ @@ -95,7 +96,8 @@ func NewEditUserBadRequest() *EditUserBadRequest { return &EditUserBadRequest{} } -/* EditUserBadRequest describes a response with status code 400, with default header values. +/* +EditUserBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -127,7 +129,8 @@ func NewEditUserForbidden() *EditUserForbidden { return &EditUserForbidden{} } -/* EditUserForbidden describes a response with status code 403, with default header values. +/* +EditUserForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -159,7 +162,8 @@ func NewEditUserNotFound() *EditUserNotFound { return &EditUserNotFound{} } -/* EditUserNotFound describes a response with status code 404, with default header values. +/* +EditUserNotFound describes a response with status code 404, with default header values. Not Found */ @@ -191,7 +195,8 @@ func NewEditUserInternalServerError() *EditUserInternalServerError { return &EditUserInternalServerError{} } -/* EditUserInternalServerError describes a response with status code 500, with default header values. +/* +EditUserInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/users/get_domains_by_user_parameters.go b/pkg/platform/api/mono/mono_client/users/get_domains_by_user_parameters.go index cf5f23b482..8fb7801514 100644 --- a/pkg/platform/api/mono/mono_client/users/get_domains_by_user_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/get_domains_by_user_parameters.go @@ -52,10 +52,12 @@ func NewGetDomainsByUserParamsWithHTTPClient(client *http.Client) *GetDomainsByU } } -/* GetDomainsByUserParams contains all the parameters to send to the API endpoint - for the get domains by user operation. +/* +GetDomainsByUserParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get domains by user operation. + + Typically these are written to a http.Request. */ type GetDomainsByUserParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/get_domains_by_user_responses.go b/pkg/platform/api/mono/mono_client/users/get_domains_by_user_responses.go index 1ac3f734ce..73f7830dc8 100644 --- a/pkg/platform/api/mono/mono_client/users/get_domains_by_user_responses.go +++ b/pkg/platform/api/mono/mono_client/users/get_domains_by_user_responses.go @@ -51,7 +51,8 @@ func NewGetDomainsByUserOK() *GetDomainsByUserOK { return &GetDomainsByUserOK{} } -/* GetDomainsByUserOK describes a response with status code 200, with default header values. +/* +GetDomainsByUserOK describes a response with status code 200, with default header values. Domain records */ @@ -81,7 +82,8 @@ func NewGetDomainsByUserForbidden() *GetDomainsByUserForbidden { return &GetDomainsByUserForbidden{} } -/* GetDomainsByUserForbidden describes a response with status code 403, with default header values. +/* +GetDomainsByUserForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -113,7 +115,8 @@ func NewGetDomainsByUserInternalServerError() *GetDomainsByUserInternalServerErr return &GetDomainsByUserInternalServerError{} } -/* GetDomainsByUserInternalServerError describes a response with status code 500, with default header values. +/* +GetDomainsByUserInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/users/get_email_verification_link_parameters.go b/pkg/platform/api/mono/mono_client/users/get_email_verification_link_parameters.go index e40fbaf28e..bb16ebeffe 100644 --- a/pkg/platform/api/mono/mono_client/users/get_email_verification_link_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/get_email_verification_link_parameters.go @@ -52,10 +52,12 @@ func NewGetEmailVerificationLinkParamsWithHTTPClient(client *http.Client) *GetEm } } -/* GetEmailVerificationLinkParams contains all the parameters to send to the API endpoint - for the get email verification link operation. +/* +GetEmailVerificationLinkParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get email verification link operation. + + Typically these are written to a http.Request. */ type GetEmailVerificationLinkParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/get_email_verification_link_responses.go b/pkg/platform/api/mono/mono_client/users/get_email_verification_link_responses.go index bcc87fff20..bea93c6587 100644 --- a/pkg/platform/api/mono/mono_client/users/get_email_verification_link_responses.go +++ b/pkg/platform/api/mono/mono_client/users/get_email_verification_link_responses.go @@ -63,7 +63,8 @@ func NewGetEmailVerificationLinkOK() *GetEmailVerificationLinkOK { return &GetEmailVerificationLinkOK{} } -/* GetEmailVerificationLinkOK describes a response with status code 200, with default header values. +/* +GetEmailVerificationLinkOK describes a response with status code 200, with default header values. Success */ @@ -93,7 +94,8 @@ func NewGetEmailVerificationLinkBadRequest() *GetEmailVerificationLinkBadRequest return &GetEmailVerificationLinkBadRequest{} } -/* GetEmailVerificationLinkBadRequest describes a response with status code 400, with default header values. +/* +GetEmailVerificationLinkBadRequest describes a response with status code 400, with default header values. Email is already verified */ @@ -125,7 +127,8 @@ func NewGetEmailVerificationLinkForbidden() *GetEmailVerificationLinkForbidden { return &GetEmailVerificationLinkForbidden{} } -/* GetEmailVerificationLinkForbidden describes a response with status code 403, with default header values. +/* +GetEmailVerificationLinkForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -157,7 +160,8 @@ func NewGetEmailVerificationLinkNotFound() *GetEmailVerificationLinkNotFound { return &GetEmailVerificationLinkNotFound{} } -/* GetEmailVerificationLinkNotFound describes a response with status code 404, with default header values. +/* +GetEmailVerificationLinkNotFound describes a response with status code 404, with default header values. Email not found */ @@ -189,7 +193,8 @@ func NewGetEmailVerificationLinkInternalServerError() *GetEmailVerificationLinkI return &GetEmailVerificationLinkInternalServerError{} } -/* GetEmailVerificationLinkInternalServerError describes a response with status code 500, with default header values. +/* +GetEmailVerificationLinkInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/users/get_emails_by_user_parameters.go b/pkg/platform/api/mono/mono_client/users/get_emails_by_user_parameters.go index 075d7c8d95..25cc1d8253 100644 --- a/pkg/platform/api/mono/mono_client/users/get_emails_by_user_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/get_emails_by_user_parameters.go @@ -52,10 +52,12 @@ func NewGetEmailsByUserParamsWithHTTPClient(client *http.Client) *GetEmailsByUse } } -/* GetEmailsByUserParams contains all the parameters to send to the API endpoint - for the get emails by user operation. +/* +GetEmailsByUserParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get emails by user operation. + + Typically these are written to a http.Request. */ type GetEmailsByUserParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/get_emails_by_user_responses.go b/pkg/platform/api/mono/mono_client/users/get_emails_by_user_responses.go index a8d4a0c105..ccb1421100 100644 --- a/pkg/platform/api/mono/mono_client/users/get_emails_by_user_responses.go +++ b/pkg/platform/api/mono/mono_client/users/get_emails_by_user_responses.go @@ -51,7 +51,8 @@ func NewGetEmailsByUserOK() *GetEmailsByUserOK { return &GetEmailsByUserOK{} } -/* GetEmailsByUserOK describes a response with status code 200, with default header values. +/* +GetEmailsByUserOK describes a response with status code 200, with default header values. Email records */ @@ -81,7 +82,8 @@ func NewGetEmailsByUserForbidden() *GetEmailsByUserForbidden { return &GetEmailsByUserForbidden{} } -/* GetEmailsByUserForbidden describes a response with status code 403, with default header values. +/* +GetEmailsByUserForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -113,7 +115,8 @@ func NewGetEmailsByUserInternalServerError() *GetEmailsByUserInternalServerError return &GetEmailsByUserInternalServerError{} } -/* GetEmailsByUserInternalServerError describes a response with status code 500, with default header values. +/* +GetEmailsByUserInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/users/get_invitation_by_code_parameters.go b/pkg/platform/api/mono/mono_client/users/get_invitation_by_code_parameters.go index 96bb3014c3..c97b254105 100644 --- a/pkg/platform/api/mono/mono_client/users/get_invitation_by_code_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/get_invitation_by_code_parameters.go @@ -52,10 +52,12 @@ func NewGetInvitationByCodeParamsWithHTTPClient(client *http.Client) *GetInvitat } } -/* GetInvitationByCodeParams contains all the parameters to send to the API endpoint - for the get invitation by code operation. +/* +GetInvitationByCodeParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get invitation by code operation. + + Typically these are written to a http.Request. */ type GetInvitationByCodeParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/get_invitation_by_code_responses.go b/pkg/platform/api/mono/mono_client/users/get_invitation_by_code_responses.go index 4d938ec176..e2ad0d727f 100644 --- a/pkg/platform/api/mono/mono_client/users/get_invitation_by_code_responses.go +++ b/pkg/platform/api/mono/mono_client/users/get_invitation_by_code_responses.go @@ -63,7 +63,8 @@ func NewGetInvitationByCodeOK() *GetInvitationByCodeOK { return &GetInvitationByCodeOK{} } -/* GetInvitationByCodeOK describes a response with status code 200, with default header values. +/* +GetInvitationByCodeOK describes a response with status code 200, with default header values. Invitation */ @@ -95,7 +96,8 @@ func NewGetInvitationByCodeBadRequest() *GetInvitationByCodeBadRequest { return &GetInvitationByCodeBadRequest{} } -/* GetInvitationByCodeBadRequest describes a response with status code 400, with default header values. +/* +GetInvitationByCodeBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -127,7 +129,8 @@ func NewGetInvitationByCodeForbidden() *GetInvitationByCodeForbidden { return &GetInvitationByCodeForbidden{} } -/* GetInvitationByCodeForbidden describes a response with status code 403, with default header values. +/* +GetInvitationByCodeForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -159,7 +162,8 @@ func NewGetInvitationByCodeNotFound() *GetInvitationByCodeNotFound { return &GetInvitationByCodeNotFound{} } -/* GetInvitationByCodeNotFound describes a response with status code 404, with default header values. +/* +GetInvitationByCodeNotFound describes a response with status code 404, with default header values. Not Found */ @@ -191,7 +195,8 @@ func NewGetInvitationByCodeInternalServerError() *GetInvitationByCodeInternalSer return &GetInvitationByCodeInternalServerError{} } -/* GetInvitationByCodeInternalServerError describes a response with status code 500, with default header values. +/* +GetInvitationByCodeInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/users/get_invitations_by_user_parameters.go b/pkg/platform/api/mono/mono_client/users/get_invitations_by_user_parameters.go index e78bb8a42b..b35de1d622 100644 --- a/pkg/platform/api/mono/mono_client/users/get_invitations_by_user_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/get_invitations_by_user_parameters.go @@ -52,10 +52,12 @@ func NewGetInvitationsByUserParamsWithHTTPClient(client *http.Client) *GetInvita } } -/* GetInvitationsByUserParams contains all the parameters to send to the API endpoint - for the get invitations by user operation. +/* +GetInvitationsByUserParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get invitations by user operation. + + Typically these are written to a http.Request. */ type GetInvitationsByUserParams struct { timeout time.Duration diff --git a/pkg/platform/api/mono/mono_client/users/get_invitations_by_user_responses.go b/pkg/platform/api/mono/mono_client/users/get_invitations_by_user_responses.go index 326ba84005..5e2a1d2587 100644 --- a/pkg/platform/api/mono/mono_client/users/get_invitations_by_user_responses.go +++ b/pkg/platform/api/mono/mono_client/users/get_invitations_by_user_responses.go @@ -45,7 +45,8 @@ func NewGetInvitationsByUserOK() *GetInvitationsByUserOK { return &GetInvitationsByUserOK{} } -/* GetInvitationsByUserOK describes a response with status code 200, with default header values. +/* +GetInvitationsByUserOK describes a response with status code 200, with default header values. Pending Invitations */ @@ -75,7 +76,8 @@ func NewGetInvitationsByUserInternalServerError() *GetInvitationsByUserInternalS return &GetInvitationsByUserInternalServerError{} } -/* GetInvitationsByUserInternalServerError describes a response with status code 500, with default header values. +/* +GetInvitationsByUserInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/users/get_user_by_id_parameters.go b/pkg/platform/api/mono/mono_client/users/get_user_by_id_parameters.go index 468a5181f4..1e4c698216 100644 --- a/pkg/platform/api/mono/mono_client/users/get_user_by_id_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/get_user_by_id_parameters.go @@ -52,10 +52,12 @@ func NewGetUserByIDParamsWithHTTPClient(client *http.Client) *GetUserByIDParams } } -/* GetUserByIDParams contains all the parameters to send to the API endpoint - for the get user by ID operation. +/* +GetUserByIDParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get user by ID operation. + + Typically these are written to a http.Request. */ type GetUserByIDParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/get_user_by_id_responses.go b/pkg/platform/api/mono/mono_client/users/get_user_by_id_responses.go index e63bc09b47..44a5ba612f 100644 --- a/pkg/platform/api/mono/mono_client/users/get_user_by_id_responses.go +++ b/pkg/platform/api/mono/mono_client/users/get_user_by_id_responses.go @@ -51,7 +51,8 @@ func NewGetUserByIDOK() *GetUserByIDOK { return &GetUserByIDOK{} } -/* GetUserByIDOK describes a response with status code 200, with default header values. +/* +GetUserByIDOK describes a response with status code 200, with default header values. User Record */ @@ -83,7 +84,8 @@ func NewGetUserByIDNotFound() *GetUserByIDNotFound { return &GetUserByIDNotFound{} } -/* GetUserByIDNotFound describes a response with status code 404, with default header values. +/* +GetUserByIDNotFound describes a response with status code 404, with default header values. Not Found */ @@ -115,7 +117,8 @@ func NewGetUserByIDInternalServerError() *GetUserByIDInternalServerError { return &GetUserByIDInternalServerError{} } -/* GetUserByIDInternalServerError describes a response with status code 500, with default header values. +/* +GetUserByIDInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/users/get_user_parameters.go b/pkg/platform/api/mono/mono_client/users/get_user_parameters.go index ca7ac594ef..7ae18c57ce 100644 --- a/pkg/platform/api/mono/mono_client/users/get_user_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/get_user_parameters.go @@ -52,10 +52,12 @@ func NewGetUserParamsWithHTTPClient(client *http.Client) *GetUserParams { } } -/* GetUserParams contains all the parameters to send to the API endpoint - for the get user operation. +/* +GetUserParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get user operation. + + Typically these are written to a http.Request. */ type GetUserParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/get_user_responses.go b/pkg/platform/api/mono/mono_client/users/get_user_responses.go index a18ecefbcf..2acc35328f 100644 --- a/pkg/platform/api/mono/mono_client/users/get_user_responses.go +++ b/pkg/platform/api/mono/mono_client/users/get_user_responses.go @@ -51,7 +51,8 @@ func NewGetUserOK() *GetUserOK { return &GetUserOK{} } -/* GetUserOK describes a response with status code 200, with default header values. +/* +GetUserOK describes a response with status code 200, with default header values. User Record */ @@ -83,7 +84,8 @@ func NewGetUserNotFound() *GetUserNotFound { return &GetUserNotFound{} } -/* GetUserNotFound describes a response with status code 404, with default header values. +/* +GetUserNotFound describes a response with status code 404, with default header values. Not Found */ @@ -115,7 +117,8 @@ func NewGetUserInternalServerError() *GetUserInternalServerError { return &GetUserInternalServerError{} } -/* GetUserInternalServerError describes a response with status code 500, with default header values. +/* +GetUserInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/users/list_invitations_parameters.go b/pkg/platform/api/mono/mono_client/users/list_invitations_parameters.go index a0214139b7..3aea8618dc 100644 --- a/pkg/platform/api/mono/mono_client/users/list_invitations_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/list_invitations_parameters.go @@ -52,10 +52,12 @@ func NewListInvitationsParamsWithHTTPClient(client *http.Client) *ListInvitation } } -/* ListInvitationsParams contains all the parameters to send to the API endpoint - for the list invitations operation. +/* +ListInvitationsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the list invitations operation. + + Typically these are written to a http.Request. */ type ListInvitationsParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/list_invitations_responses.go b/pkg/platform/api/mono/mono_client/users/list_invitations_responses.go index 9677fc8ad8..b4e0255764 100644 --- a/pkg/platform/api/mono/mono_client/users/list_invitations_responses.go +++ b/pkg/platform/api/mono/mono_client/users/list_invitations_responses.go @@ -57,7 +57,8 @@ func NewListInvitationsOK() *ListInvitationsOK { return &ListInvitationsOK{} } -/* ListInvitationsOK describes a response with status code 200, with default header values. +/* +ListInvitationsOK describes a response with status code 200, with default header values. Pending Invitations */ @@ -87,7 +88,8 @@ func NewListInvitationsBadRequest() *ListInvitationsBadRequest { return &ListInvitationsBadRequest{} } -/* ListInvitationsBadRequest describes a response with status code 400, with default header values. +/* +ListInvitationsBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -119,7 +121,8 @@ func NewListInvitationsForbidden() *ListInvitationsForbidden { return &ListInvitationsForbidden{} } -/* ListInvitationsForbidden describes a response with status code 403, with default header values. +/* +ListInvitationsForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -151,7 +154,8 @@ func NewListInvitationsInternalServerError() *ListInvitationsInternalServerError return &ListInvitationsInternalServerError{} } -/* ListInvitationsInternalServerError describes a response with status code 500, with default header values. +/* +ListInvitationsInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/users/list_users_parameters.go b/pkg/platform/api/mono/mono_client/users/list_users_parameters.go index 4a521ab05c..2d1deaf494 100644 --- a/pkg/platform/api/mono/mono_client/users/list_users_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/list_users_parameters.go @@ -52,10 +52,12 @@ func NewListUsersParamsWithHTTPClient(client *http.Client) *ListUsersParams { } } -/* ListUsersParams contains all the parameters to send to the API endpoint - for the list users operation. +/* +ListUsersParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the list users operation. + + Typically these are written to a http.Request. */ type ListUsersParams struct { timeout time.Duration diff --git a/pkg/platform/api/mono/mono_client/users/list_users_responses.go b/pkg/platform/api/mono/mono_client/users/list_users_responses.go index 3ce023ef12..e41c179a25 100644 --- a/pkg/platform/api/mono/mono_client/users/list_users_responses.go +++ b/pkg/platform/api/mono/mono_client/users/list_users_responses.go @@ -45,7 +45,8 @@ func NewListUsersOK() *ListUsersOK { return &ListUsersOK{} } -/* ListUsersOK describes a response with status code 200, with default header values. +/* +ListUsersOK describes a response with status code 200, with default header values. Success */ @@ -75,7 +76,8 @@ func NewListUsersInternalServerError() *ListUsersInternalServerError { return &ListUsersInternalServerError{} } -/* ListUsersInternalServerError describes a response with status code 500, with default header values. +/* +ListUsersInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/users/search_emails_parameters.go b/pkg/platform/api/mono/mono_client/users/search_emails_parameters.go index b6072a5dd4..d964e0d3bd 100644 --- a/pkg/platform/api/mono/mono_client/users/search_emails_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/search_emails_parameters.go @@ -52,10 +52,12 @@ func NewSearchEmailsParamsWithHTTPClient(client *http.Client) *SearchEmailsParam } } -/* SearchEmailsParams contains all the parameters to send to the API endpoint - for the search emails operation. +/* +SearchEmailsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the search emails operation. + + Typically these are written to a http.Request. */ type SearchEmailsParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/search_emails_responses.go b/pkg/platform/api/mono/mono_client/users/search_emails_responses.go index f960847219..824dac452d 100644 --- a/pkg/platform/api/mono/mono_client/users/search_emails_responses.go +++ b/pkg/platform/api/mono/mono_client/users/search_emails_responses.go @@ -53,7 +53,8 @@ func NewSearchEmailsOK() *SearchEmailsOK { return &SearchEmailsOK{} } -/* SearchEmailsOK describes a response with status code 200, with default header values. +/* +SearchEmailsOK describes a response with status code 200, with default header values. Search for users matching the given search string */ @@ -83,7 +84,8 @@ func NewSearchEmailsForbidden() *SearchEmailsForbidden { return &SearchEmailsForbidden{} } -/* SearchEmailsForbidden describes a response with status code 403, with default header values. +/* +SearchEmailsForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -115,7 +117,8 @@ func NewSearchEmailsInternalServerError() *SearchEmailsInternalServerError { return &SearchEmailsInternalServerError{} } -/* SearchEmailsInternalServerError describes a response with status code 500, with default header values. +/* +SearchEmailsInternalServerError describes a response with status code 500, with default header values. Server Error */ @@ -142,7 +145,8 @@ func (o *SearchEmailsInternalServerError) readResponse(response runtime.ClientRe return nil } -/*SearchEmailsBody search emails body +/* +SearchEmailsBody search emails body swagger:model SearchEmailsBody */ type SearchEmailsBody struct { diff --git a/pkg/platform/api/mono/mono_client/users/search_usernames_parameters.go b/pkg/platform/api/mono/mono_client/users/search_usernames_parameters.go index 5e57863070..4f47b44991 100644 --- a/pkg/platform/api/mono/mono_client/users/search_usernames_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/search_usernames_parameters.go @@ -52,10 +52,12 @@ func NewSearchUsernamesParamsWithHTTPClient(client *http.Client) *SearchUsername } } -/* SearchUsernamesParams contains all the parameters to send to the API endpoint - for the search usernames operation. +/* +SearchUsernamesParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the search usernames operation. + + Typically these are written to a http.Request. */ type SearchUsernamesParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/search_usernames_responses.go b/pkg/platform/api/mono/mono_client/users/search_usernames_responses.go index 9d41c5d8bd..36cfbd46bd 100644 --- a/pkg/platform/api/mono/mono_client/users/search_usernames_responses.go +++ b/pkg/platform/api/mono/mono_client/users/search_usernames_responses.go @@ -53,7 +53,8 @@ func NewSearchUsernamesOK() *SearchUsernamesOK { return &SearchUsernamesOK{} } -/* SearchUsernamesOK describes a response with status code 200, with default header values. +/* +SearchUsernamesOK describes a response with status code 200, with default header values. Search for users matching the given search string */ @@ -83,7 +84,8 @@ func NewSearchUsernamesForbidden() *SearchUsernamesForbidden { return &SearchUsernamesForbidden{} } -/* SearchUsernamesForbidden describes a response with status code 403, with default header values. +/* +SearchUsernamesForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -115,7 +117,8 @@ func NewSearchUsernamesInternalServerError() *SearchUsernamesInternalServerError return &SearchUsernamesInternalServerError{} } -/* SearchUsernamesInternalServerError describes a response with status code 500, with default header values. +/* +SearchUsernamesInternalServerError describes a response with status code 500, with default header values. Server Error */ @@ -142,7 +145,8 @@ func (o *SearchUsernamesInternalServerError) readResponse(response runtime.Clien return nil } -/*SearchUsernamesBody search usernames body +/* +SearchUsernamesBody search usernames body swagger:model SearchUsernamesBody */ type SearchUsernamesBody struct { diff --git a/pkg/platform/api/mono/mono_client/users/send_email_verification_parameters.go b/pkg/platform/api/mono/mono_client/users/send_email_verification_parameters.go index 4d083582c8..0a03222d9c 100644 --- a/pkg/platform/api/mono/mono_client/users/send_email_verification_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/send_email_verification_parameters.go @@ -52,10 +52,12 @@ func NewSendEmailVerificationParamsWithHTTPClient(client *http.Client) *SendEmai } } -/* SendEmailVerificationParams contains all the parameters to send to the API endpoint - for the send email verification operation. +/* +SendEmailVerificationParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the send email verification operation. + + Typically these are written to a http.Request. */ type SendEmailVerificationParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/send_email_verification_responses.go b/pkg/platform/api/mono/mono_client/users/send_email_verification_responses.go index cbb1077aae..99c10053da 100644 --- a/pkg/platform/api/mono/mono_client/users/send_email_verification_responses.go +++ b/pkg/platform/api/mono/mono_client/users/send_email_verification_responses.go @@ -63,7 +63,8 @@ func NewSendEmailVerificationOK() *SendEmailVerificationOK { return &SendEmailVerificationOK{} } -/* SendEmailVerificationOK describes a response with status code 200, with default header values. +/* +SendEmailVerificationOK describes a response with status code 200, with default header values. Email updated */ @@ -95,7 +96,8 @@ func NewSendEmailVerificationBadRequest() *SendEmailVerificationBadRequest { return &SendEmailVerificationBadRequest{} } -/* SendEmailVerificationBadRequest describes a response with status code 400, with default header values. +/* +SendEmailVerificationBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -127,7 +129,8 @@ func NewSendEmailVerificationForbidden() *SendEmailVerificationForbidden { return &SendEmailVerificationForbidden{} } -/* SendEmailVerificationForbidden describes a response with status code 403, with default header values. +/* +SendEmailVerificationForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -159,7 +162,8 @@ func NewSendEmailVerificationNotFound() *SendEmailVerificationNotFound { return &SendEmailVerificationNotFound{} } -/* SendEmailVerificationNotFound describes a response with status code 404, with default header values. +/* +SendEmailVerificationNotFound describes a response with status code 404, with default header values. Not Found */ @@ -191,7 +195,8 @@ func NewSendEmailVerificationInternalServerError() *SendEmailVerificationInterna return &SendEmailVerificationInternalServerError{} } -/* SendEmailVerificationInternalServerError describes a response with status code 500, with default header values. +/* +SendEmailVerificationInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/users/set_preferred_email_parameters.go b/pkg/platform/api/mono/mono_client/users/set_preferred_email_parameters.go index 770fb958c7..7093bd7775 100644 --- a/pkg/platform/api/mono/mono_client/users/set_preferred_email_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/set_preferred_email_parameters.go @@ -52,10 +52,12 @@ func NewSetPreferredEmailParamsWithHTTPClient(client *http.Client) *SetPreferred } } -/* SetPreferredEmailParams contains all the parameters to send to the API endpoint - for the set preferred email operation. +/* +SetPreferredEmailParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the set preferred email operation. + + Typically these are written to a http.Request. */ type SetPreferredEmailParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/set_preferred_email_responses.go b/pkg/platform/api/mono/mono_client/users/set_preferred_email_responses.go index f7c8776071..7dbfe84233 100644 --- a/pkg/platform/api/mono/mono_client/users/set_preferred_email_responses.go +++ b/pkg/platform/api/mono/mono_client/users/set_preferred_email_responses.go @@ -63,7 +63,8 @@ func NewSetPreferredEmailOK() *SetPreferredEmailOK { return &SetPreferredEmailOK{} } -/* SetPreferredEmailOK describes a response with status code 200, with default header values. +/* +SetPreferredEmailOK describes a response with status code 200, with default header values. Email updated */ @@ -95,7 +96,8 @@ func NewSetPreferredEmailBadRequest() *SetPreferredEmailBadRequest { return &SetPreferredEmailBadRequest{} } -/* SetPreferredEmailBadRequest describes a response with status code 400, with default header values. +/* +SetPreferredEmailBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -127,7 +129,8 @@ func NewSetPreferredEmailForbidden() *SetPreferredEmailForbidden { return &SetPreferredEmailForbidden{} } -/* SetPreferredEmailForbidden describes a response with status code 403, with default header values. +/* +SetPreferredEmailForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -159,7 +162,8 @@ func NewSetPreferredEmailNotFound() *SetPreferredEmailNotFound { return &SetPreferredEmailNotFound{} } -/* SetPreferredEmailNotFound describes a response with status code 404, with default header values. +/* +SetPreferredEmailNotFound describes a response with status code 404, with default header values. Not Found */ @@ -191,7 +195,8 @@ func NewSetPreferredEmailInternalServerError() *SetPreferredEmailInternalServerE return &SetPreferredEmailInternalServerError{} } -/* SetPreferredEmailInternalServerError describes a response with status code 500, with default header values. +/* +SetPreferredEmailInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/users/unique_username_parameters.go b/pkg/platform/api/mono/mono_client/users/unique_username_parameters.go index ca8abf95f0..cf81ff936d 100644 --- a/pkg/platform/api/mono/mono_client/users/unique_username_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/unique_username_parameters.go @@ -52,10 +52,12 @@ func NewUniqueUsernameParamsWithHTTPClient(client *http.Client) *UniqueUsernameP } } -/* UniqueUsernameParams contains all the parameters to send to the API endpoint - for the unique username operation. +/* +UniqueUsernameParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the unique username operation. + + Typically these are written to a http.Request. */ type UniqueUsernameParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/unique_username_responses.go b/pkg/platform/api/mono/mono_client/users/unique_username_responses.go index 14e7c56dc2..8ff682927f 100644 --- a/pkg/platform/api/mono/mono_client/users/unique_username_responses.go +++ b/pkg/platform/api/mono/mono_client/users/unique_username_responses.go @@ -51,7 +51,8 @@ func NewUniqueUsernameOK() *UniqueUsernameOK { return &UniqueUsernameOK{} } -/* UniqueUsernameOK describes a response with status code 200, with default header values. +/* +UniqueUsernameOK describes a response with status code 200, with default header values. Username available */ @@ -83,7 +84,8 @@ func NewUniqueUsernameBadRequest() *UniqueUsernameBadRequest { return &UniqueUsernameBadRequest{} } -/* UniqueUsernameBadRequest describes a response with status code 400, with default header values. +/* +UniqueUsernameBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -115,7 +117,8 @@ func NewUniqueUsernameConflict() *UniqueUsernameConflict { return &UniqueUsernameConflict{} } -/* UniqueUsernameConflict describes a response with status code 409, with default header values. +/* +UniqueUsernameConflict describes a response with status code 409, with default header values. Username Conflict */ diff --git a/pkg/platform/api/mono/mono_client/users/users_client.go b/pkg/platform/api/mono/mono_client/users/users_client.go index a027c19e49..9a44468813 100644 --- a/pkg/platform/api/mono/mono_client/users/users_client.go +++ b/pkg/platform/api/mono/mono_client/users/users_client.go @@ -74,9 +74,9 @@ type ClientService interface { } /* - AddEmail creates new email for a user +AddEmail creates new email for a user - Create new email +Create new email */ func (a *Client) AddEmail(params *AddEmailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddEmailOK, error) { // TODO: Validate the params before sending @@ -115,9 +115,9 @@ func (a *Client) AddEmail(params *AddEmailParams, authInfo runtime.ClientAuthInf } /* - AddUser creates a new user +AddUser creates a new user - Create a new user +Create a new user */ func (a *Client) AddUser(params *AddUserParams, opts ...ClientOption) (*AddUserOK, error) { // TODO: Validate the params before sending @@ -155,9 +155,9 @@ func (a *Client) AddUser(params *AddUserParams, opts ...ClientOption) (*AddUserO } /* - DeleteEmail deletes email for a user +DeleteEmail deletes email for a user - Delete email +Delete email */ func (a *Client) DeleteEmail(params *DeleteEmailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteEmailOK, error) { // TODO: Validate the params before sending @@ -196,9 +196,9 @@ func (a *Client) DeleteEmail(params *DeleteEmailParams, authInfo runtime.ClientA } /* - DeleteUser deletes a user +DeleteUser deletes a user - Delete a user +Delete a user */ func (a *Client) DeleteUser(params *DeleteUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserOK, error) { // TODO: Validate the params before sending @@ -237,9 +237,9 @@ func (a *Client) DeleteUser(params *DeleteUserParams, authInfo runtime.ClientAut } /* - EditUser edits a user +EditUser edits a user - Edit a user record +Edit a user record */ func (a *Client) EditUser(params *EditUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EditUserOK, error) { // TODO: Validate the params before sending @@ -278,9 +278,9 @@ func (a *Client) EditUser(params *EditUserParams, authInfo runtime.ClientAuthInf } /* - GetDomainsByUser retrieves a user s verified domains +GetDomainsByUser retrieves a user s verified domains - Return a list of domains suitable for auto-invite +Return a list of domains suitable for auto-invite */ func (a *Client) GetDomainsByUser(params *GetDomainsByUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDomainsByUserOK, error) { // TODO: Validate the params before sending @@ -319,9 +319,9 @@ func (a *Client) GetDomainsByUser(params *GetDomainsByUserParams, authInfo runti } /* - GetEmailVerificationLink gets the verification link for the given unverified email +GetEmailVerificationLink gets the verification link for the given unverified email - Returns the link needed to verify ownership of the provided email address, if it exists and is unverified. Only available to superusers. +Returns the link needed to verify ownership of the provided email address, if it exists and is unverified. Only available to superusers. */ func (a *Client) GetEmailVerificationLink(params *GetEmailVerificationLinkParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEmailVerificationLinkOK, error) { // TODO: Validate the params before sending @@ -360,9 +360,9 @@ func (a *Client) GetEmailVerificationLink(params *GetEmailVerificationLinkParams } /* - GetEmailsByUser retrieves a user s emails +GetEmailsByUser retrieves a user s emails - Return a list of emails matching username +Return a list of emails matching username */ func (a *Client) GetEmailsByUser(params *GetEmailsByUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEmailsByUserOK, error) { // TODO: Validate the params before sending @@ -401,9 +401,9 @@ func (a *Client) GetEmailsByUser(params *GetEmailsByUserParams, authInfo runtime } /* - GetInvitationByCode returns the invitation with the corresponding code +GetInvitationByCode returns the invitation with the corresponding code - Returns the invitation with the corresponding code +Returns the invitation with the corresponding code */ func (a *Client) GetInvitationByCode(params *GetInvitationByCodeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvitationByCodeOK, error) { // TODO: Validate the params before sending @@ -442,9 +442,9 @@ func (a *Client) GetInvitationByCode(params *GetInvitationByCodeParams, authInfo } /* - GetInvitationsByUser lists of pending invitations for the logged in user +GetInvitationsByUser lists of pending invitations for the logged in user - Has this user been invited to any organizations +Has this user been invited to any organizations */ func (a *Client) GetInvitationsByUser(params *GetInvitationsByUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvitationsByUserOK, error) { // TODO: Validate the params before sending @@ -483,9 +483,9 @@ func (a *Client) GetInvitationsByUser(params *GetInvitationsByUserParams, authIn } /* - GetUser retrieves a user record +GetUser retrieves a user record - Return a specific user matching username +Return a specific user matching username */ func (a *Client) GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserOK, error) { // TODO: Validate the params before sending @@ -524,9 +524,9 @@ func (a *Client) GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoW } /* - GetUserByID retrieves a user record by their user ID +GetUserByID retrieves a user record by their user ID - Return a specific user matching user ID +Return a specific user matching user ID */ func (a *Client) GetUserByID(params *GetUserByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserByIDOK, error) { // TODO: Validate the params before sending @@ -565,9 +565,9 @@ func (a *Client) GetUserByID(params *GetUserByIDParams, authInfo runtime.ClientA } /* - ListInvitations lists of pending invitations for an email address +ListInvitations lists of pending invitations for an email address - Has this email address been invited to any organizations +Has this email address been invited to any organizations */ func (a *Client) ListInvitations(params *ListInvitationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListInvitationsOK, error) { // TODO: Validate the params before sending @@ -606,9 +606,9 @@ func (a *Client) ListInvitations(params *ListInvitationsParams, authInfo runtime } /* - ListUsers lists of visible users +ListUsers lists of visible users - Retrieve all users from the system that the user has access to +Retrieve all users from the system that the user has access to */ func (a *Client) ListUsers(params *ListUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUsersOK, error) { // TODO: Validate the params before sending @@ -647,7 +647,7 @@ func (a *Client) ListUsers(params *ListUsersParams, authInfo runtime.ClientAuthI } /* - SearchEmails Search for users by email address, requires superuser +SearchEmails Search for users by email address, requires superuser */ func (a *Client) SearchEmails(params *SearchEmailsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchEmailsOK, error) { // TODO: Validate the params before sending @@ -686,7 +686,7 @@ func (a *Client) SearchEmails(params *SearchEmailsParams, authInfo runtime.Clien } /* - SearchUsernames Search for users, requires superuser +SearchUsernames Search for users, requires superuser */ func (a *Client) SearchUsernames(params *SearchUsernamesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchUsernamesOK, error) { // TODO: Validate the params before sending @@ -725,9 +725,9 @@ func (a *Client) SearchUsernames(params *SearchUsernamesParams, authInfo runtime } /* - SendEmailVerification sends a verification email to user +SendEmailVerification sends a verification email to user - Send a verification email to user +Send a verification email to user */ func (a *Client) SendEmailVerification(params *SendEmailVerificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SendEmailVerificationOK, error) { // TODO: Validate the params before sending @@ -766,9 +766,9 @@ func (a *Client) SendEmailVerification(params *SendEmailVerificationParams, auth } /* - SetPreferredEmail updates preferred email +SetPreferredEmail updates preferred email - Update preferred email +Update preferred email */ func (a *Client) SetPreferredEmail(params *SetPreferredEmailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetPreferredEmailOK, error) { // TODO: Validate the params before sending @@ -807,9 +807,9 @@ func (a *Client) SetPreferredEmail(params *SetPreferredEmailParams, authInfo run } /* - UniqueUsername checks if a username is already taken in the system +UniqueUsername checks if a username is already taken in the system - Is the supplied username already assigned +Is the supplied username already assigned */ func (a *Client) UniqueUsername(params *UniqueUsernameParams, opts ...ClientOption) (*UniqueUsernameOK, error) { // TODO: Validate the params before sending @@ -847,9 +847,9 @@ func (a *Client) UniqueUsername(params *UniqueUsernameParams, opts ...ClientOpti } /* - VerifyEmail verifies the designated email +VerifyEmail verifies the designated email - Verify the designated email +Verify the designated email */ func (a *Client) VerifyEmail(params *VerifyEmailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*VerifyEmailOK, error) { // TODO: Validate the params before sending diff --git a/pkg/platform/api/mono/mono_client/users/verify_email_parameters.go b/pkg/platform/api/mono/mono_client/users/verify_email_parameters.go index 28677388b5..40eadfc02a 100644 --- a/pkg/platform/api/mono/mono_client/users/verify_email_parameters.go +++ b/pkg/platform/api/mono/mono_client/users/verify_email_parameters.go @@ -52,10 +52,12 @@ func NewVerifyEmailParamsWithHTTPClient(client *http.Client) *VerifyEmailParams } } -/* VerifyEmailParams contains all the parameters to send to the API endpoint - for the verify email operation. +/* +VerifyEmailParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the verify email operation. + + Typically these are written to a http.Request. */ type VerifyEmailParams struct { diff --git a/pkg/platform/api/mono/mono_client/users/verify_email_responses.go b/pkg/platform/api/mono/mono_client/users/verify_email_responses.go index ba81a2ce49..9bfa2275df 100644 --- a/pkg/platform/api/mono/mono_client/users/verify_email_responses.go +++ b/pkg/platform/api/mono/mono_client/users/verify_email_responses.go @@ -63,7 +63,8 @@ func NewVerifyEmailOK() *VerifyEmailOK { return &VerifyEmailOK{} } -/* VerifyEmailOK describes a response with status code 200, with default header values. +/* +VerifyEmailOK describes a response with status code 200, with default header values. Email updated */ @@ -95,7 +96,8 @@ func NewVerifyEmailBadRequest() *VerifyEmailBadRequest { return &VerifyEmailBadRequest{} } -/* VerifyEmailBadRequest describes a response with status code 400, with default header values. +/* +VerifyEmailBadRequest describes a response with status code 400, with default header values. Invalid Code */ @@ -127,7 +129,8 @@ func NewVerifyEmailForbidden() *VerifyEmailForbidden { return &VerifyEmailForbidden{} } -/* VerifyEmailForbidden describes a response with status code 403, with default header values. +/* +VerifyEmailForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -159,7 +162,8 @@ func NewVerifyEmailNotFound() *VerifyEmailNotFound { return &VerifyEmailNotFound{} } -/* VerifyEmailNotFound describes a response with status code 404, with default header values. +/* +VerifyEmailNotFound describes a response with status code 404, with default header values. Not Found */ @@ -191,7 +195,8 @@ func NewVerifyEmailInternalServerError() *VerifyEmailInternalServerError { return &VerifyEmailInternalServerError{} } -/* VerifyEmailInternalServerError describes a response with status code 500, with default header values. +/* +VerifyEmailInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/version_control/add_commit_parameters.go b/pkg/platform/api/mono/mono_client/version_control/add_commit_parameters.go index bc5e28cc9d..2a4c26e6ec 100644 --- a/pkg/platform/api/mono/mono_client/version_control/add_commit_parameters.go +++ b/pkg/platform/api/mono/mono_client/version_control/add_commit_parameters.go @@ -54,10 +54,12 @@ func NewAddCommitParamsWithHTTPClient(client *http.Client) *AddCommitParams { } } -/* AddCommitParams contains all the parameters to send to the API endpoint - for the add commit operation. +/* +AddCommitParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add commit operation. + + Typically these are written to a http.Request. */ type AddCommitParams struct { diff --git a/pkg/platform/api/mono/mono_client/version_control/add_commit_responses.go b/pkg/platform/api/mono/mono_client/version_control/add_commit_responses.go index 478c7e7bca..4014d440f3 100644 --- a/pkg/platform/api/mono/mono_client/version_control/add_commit_responses.go +++ b/pkg/platform/api/mono/mono_client/version_control/add_commit_responses.go @@ -69,7 +69,8 @@ func NewAddCommitOK() *AddCommitOK { return &AddCommitOK{} } -/* AddCommitOK describes a response with status code 200, with default header values. +/* +AddCommitOK describes a response with status code 200, with default header values. Create a new commit */ @@ -101,7 +102,8 @@ func NewAddCommitBadRequest() *AddCommitBadRequest { return &AddCommitBadRequest{} } -/* AddCommitBadRequest describes a response with status code 400, with default header values. +/* +AddCommitBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -133,7 +135,8 @@ func NewAddCommitForbidden() *AddCommitForbidden { return &AddCommitForbidden{} } -/* AddCommitForbidden describes a response with status code 403, with default header values. +/* +AddCommitForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -165,7 +168,8 @@ func NewAddCommitNotFound() *AddCommitNotFound { return &AddCommitNotFound{} } -/* AddCommitNotFound describes a response with status code 404, with default header values. +/* +AddCommitNotFound describes a response with status code 404, with default header values. branch was not found */ @@ -197,7 +201,8 @@ func NewAddCommitConflict() *AddCommitConflict { return &AddCommitConflict{} } -/* AddCommitConflict describes a response with status code 409, with default header values. +/* +AddCommitConflict describes a response with status code 409, with default header values. Commit changes conflict with checkpoint */ @@ -229,7 +234,8 @@ func NewAddCommitInternalServerError() *AddCommitInternalServerError { return &AddCommitInternalServerError{} } -/* AddCommitInternalServerError describes a response with status code 500, with default header values. +/* +AddCommitInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/version_control/add_tag_parameters.go b/pkg/platform/api/mono/mono_client/version_control/add_tag_parameters.go index ebbac0233a..109a35396d 100644 --- a/pkg/platform/api/mono/mono_client/version_control/add_tag_parameters.go +++ b/pkg/platform/api/mono/mono_client/version_control/add_tag_parameters.go @@ -54,10 +54,12 @@ func NewAddTagParamsWithHTTPClient(client *http.Client) *AddTagParams { } } -/* AddTagParams contains all the parameters to send to the API endpoint - for the add tag operation. +/* +AddTagParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the add tag operation. + + Typically these are written to a http.Request. */ type AddTagParams struct { diff --git a/pkg/platform/api/mono/mono_client/version_control/add_tag_responses.go b/pkg/platform/api/mono/mono_client/version_control/add_tag_responses.go index 159bee1f3c..5357ea6294 100644 --- a/pkg/platform/api/mono/mono_client/version_control/add_tag_responses.go +++ b/pkg/platform/api/mono/mono_client/version_control/add_tag_responses.go @@ -69,7 +69,8 @@ func NewAddTagOK() *AddTagOK { return &AddTagOK{} } -/* AddTagOK describes a response with status code 200, with default header values. +/* +AddTagOK describes a response with status code 200, with default header values. Success */ @@ -101,7 +102,8 @@ func NewAddTagBadRequest() *AddTagBadRequest { return &AddTagBadRequest{} } -/* AddTagBadRequest describes a response with status code 400, with default header values. +/* +AddTagBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -133,7 +135,8 @@ func NewAddTagForbidden() *AddTagForbidden { return &AddTagForbidden{} } -/* AddTagForbidden describes a response with status code 403, with default header values. +/* +AddTagForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -165,7 +168,8 @@ func NewAddTagNotFound() *AddTagNotFound { return &AddTagNotFound{} } -/* AddTagNotFound describes a response with status code 404, with default header values. +/* +AddTagNotFound describes a response with status code 404, with default header values. Not Found */ @@ -197,7 +201,8 @@ func NewAddTagConflict() *AddTagConflict { return &AddTagConflict{} } -/* AddTagConflict describes a response with status code 409, with default header values. +/* +AddTagConflict describes a response with status code 409, with default header values. Conflict */ @@ -229,7 +234,8 @@ func NewAddTagInternalServerError() *AddTagInternalServerError { return &AddTagInternalServerError{} } -/* AddTagInternalServerError describes a response with status code 500, with default header values. +/* +AddTagInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/version_control/delete_branch_parameters.go b/pkg/platform/api/mono/mono_client/version_control/delete_branch_parameters.go index 4c96212ee8..ebe21be2a1 100644 --- a/pkg/platform/api/mono/mono_client/version_control/delete_branch_parameters.go +++ b/pkg/platform/api/mono/mono_client/version_control/delete_branch_parameters.go @@ -52,10 +52,12 @@ func NewDeleteBranchParamsWithHTTPClient(client *http.Client) *DeleteBranchParam } } -/* DeleteBranchParams contains all the parameters to send to the API endpoint - for the delete branch operation. +/* +DeleteBranchParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the delete branch operation. + + Typically these are written to a http.Request. */ type DeleteBranchParams struct { diff --git a/pkg/platform/api/mono/mono_client/version_control/delete_branch_responses.go b/pkg/platform/api/mono/mono_client/version_control/delete_branch_responses.go index e0e42b7048..5b97427b70 100644 --- a/pkg/platform/api/mono/mono_client/version_control/delete_branch_responses.go +++ b/pkg/platform/api/mono/mono_client/version_control/delete_branch_responses.go @@ -57,7 +57,8 @@ func NewDeleteBranchOK() *DeleteBranchOK { return &DeleteBranchOK{} } -/* DeleteBranchOK describes a response with status code 200, with default header values. +/* +DeleteBranchOK describes a response with status code 200, with default header values. Branch deleted successfully */ @@ -89,7 +90,8 @@ func NewDeleteBranchForbidden() *DeleteBranchForbidden { return &DeleteBranchForbidden{} } -/* DeleteBranchForbidden describes a response with status code 403, with default header values. +/* +DeleteBranchForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -121,7 +123,8 @@ func NewDeleteBranchNotFound() *DeleteBranchNotFound { return &DeleteBranchNotFound{} } -/* DeleteBranchNotFound describes a response with status code 404, with default header values. +/* +DeleteBranchNotFound describes a response with status code 404, with default header values. branch was not found */ @@ -153,7 +156,8 @@ func NewDeleteBranchInternalServerError() *DeleteBranchInternalServerError { return &DeleteBranchInternalServerError{} } -/* DeleteBranchInternalServerError describes a response with status code 500, with default header values. +/* +DeleteBranchInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/version_control/edit_tag_parameters.go b/pkg/platform/api/mono/mono_client/version_control/edit_tag_parameters.go index 1046e622e1..e0a137bd1d 100644 --- a/pkg/platform/api/mono/mono_client/version_control/edit_tag_parameters.go +++ b/pkg/platform/api/mono/mono_client/version_control/edit_tag_parameters.go @@ -54,10 +54,12 @@ func NewEditTagParamsWithHTTPClient(client *http.Client) *EditTagParams { } } -/* EditTagParams contains all the parameters to send to the API endpoint - for the edit tag operation. +/* +EditTagParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the edit tag operation. + + Typically these are written to a http.Request. */ type EditTagParams struct { diff --git a/pkg/platform/api/mono/mono_client/version_control/edit_tag_responses.go b/pkg/platform/api/mono/mono_client/version_control/edit_tag_responses.go index 8f2a24933c..9605574841 100644 --- a/pkg/platform/api/mono/mono_client/version_control/edit_tag_responses.go +++ b/pkg/platform/api/mono/mono_client/version_control/edit_tag_responses.go @@ -69,7 +69,8 @@ func NewEditTagOK() *EditTagOK { return &EditTagOK{} } -/* EditTagOK describes a response with status code 200, with default header values. +/* +EditTagOK describes a response with status code 200, with default header values. Success */ @@ -101,7 +102,8 @@ func NewEditTagBadRequest() *EditTagBadRequest { return &EditTagBadRequest{} } -/* EditTagBadRequest describes a response with status code 400, with default header values. +/* +EditTagBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -133,7 +135,8 @@ func NewEditTagForbidden() *EditTagForbidden { return &EditTagForbidden{} } -/* EditTagForbidden describes a response with status code 403, with default header values. +/* +EditTagForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -165,7 +168,8 @@ func NewEditTagNotFound() *EditTagNotFound { return &EditTagNotFound{} } -/* EditTagNotFound describes a response with status code 404, with default header values. +/* +EditTagNotFound describes a response with status code 404, with default header values. Not Found */ @@ -197,7 +201,8 @@ func NewEditTagConflict() *EditTagConflict { return &EditTagConflict{} } -/* EditTagConflict describes a response with status code 409, with default header values. +/* +EditTagConflict describes a response with status code 409, with default header values. Conflict */ @@ -229,7 +234,8 @@ func NewEditTagInternalServerError() *EditTagInternalServerError { return &EditTagInternalServerError{} } -/* EditTagInternalServerError describes a response with status code 500, with default header values. +/* +EditTagInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/version_control/get_branch_parameters.go b/pkg/platform/api/mono/mono_client/version_control/get_branch_parameters.go index 15fb655384..d6264013a4 100644 --- a/pkg/platform/api/mono/mono_client/version_control/get_branch_parameters.go +++ b/pkg/platform/api/mono/mono_client/version_control/get_branch_parameters.go @@ -52,10 +52,12 @@ func NewGetBranchParamsWithHTTPClient(client *http.Client) *GetBranchParams { } } -/* GetBranchParams contains all the parameters to send to the API endpoint - for the get branch operation. +/* +GetBranchParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get branch operation. + + Typically these are written to a http.Request. */ type GetBranchParams struct { diff --git a/pkg/platform/api/mono/mono_client/version_control/get_branch_responses.go b/pkg/platform/api/mono/mono_client/version_control/get_branch_responses.go index 2d905b72ef..ed8edef24a 100644 --- a/pkg/platform/api/mono/mono_client/version_control/get_branch_responses.go +++ b/pkg/platform/api/mono/mono_client/version_control/get_branch_responses.go @@ -45,7 +45,8 @@ func NewGetBranchOK() *GetBranchOK { return &GetBranchOK{} } -/* GetBranchOK describes a response with status code 200, with default header values. +/* +GetBranchOK describes a response with status code 200, with default header values. Get details about the branch */ @@ -77,7 +78,8 @@ func NewGetBranchNotFound() *GetBranchNotFound { return &GetBranchNotFound{} } -/* GetBranchNotFound describes a response with status code 404, with default header values. +/* +GetBranchNotFound describes a response with status code 404, with default header values. branch was not found */ diff --git a/pkg/platform/api/mono/mono_client/version_control/get_checkpoint_parameters.go b/pkg/platform/api/mono/mono_client/version_control/get_checkpoint_parameters.go index 9b29d3afef..592a92eb1c 100644 --- a/pkg/platform/api/mono/mono_client/version_control/get_checkpoint_parameters.go +++ b/pkg/platform/api/mono/mono_client/version_control/get_checkpoint_parameters.go @@ -52,10 +52,12 @@ func NewGetCheckpointParamsWithHTTPClient(client *http.Client) *GetCheckpointPar } } -/* GetCheckpointParams contains all the parameters to send to the API endpoint - for the get checkpoint operation. +/* +GetCheckpointParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get checkpoint operation. + + Typically these are written to a http.Request. */ type GetCheckpointParams struct { diff --git a/pkg/platform/api/mono/mono_client/version_control/get_checkpoint_responses.go b/pkg/platform/api/mono/mono_client/version_control/get_checkpoint_responses.go index f5b0f00e5f..2705d342e0 100644 --- a/pkg/platform/api/mono/mono_client/version_control/get_checkpoint_responses.go +++ b/pkg/platform/api/mono/mono_client/version_control/get_checkpoint_responses.go @@ -57,7 +57,8 @@ func NewGetCheckpointOK() *GetCheckpointOK { return &GetCheckpointOK{} } -/* GetCheckpointOK describes a response with status code 200, with default header values. +/* +GetCheckpointOK describes a response with status code 200, with default header values. Get the checkpoint for the given commit */ @@ -87,7 +88,8 @@ func NewGetCheckpointForbidden() *GetCheckpointForbidden { return &GetCheckpointForbidden{} } -/* GetCheckpointForbidden describes a response with status code 403, with default header values. +/* +GetCheckpointForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -119,7 +121,8 @@ func NewGetCheckpointNotFound() *GetCheckpointNotFound { return &GetCheckpointNotFound{} } -/* GetCheckpointNotFound describes a response with status code 404, with default header values. +/* +GetCheckpointNotFound describes a response with status code 404, with default header values. checkpoint was not found */ @@ -151,7 +154,8 @@ func NewGetCheckpointInternalServerError() *GetCheckpointInternalServerError { return &GetCheckpointInternalServerError{} } -/* GetCheckpointInternalServerError describes a response with status code 500, with default header values. +/* +GetCheckpointInternalServerError describes a response with status code 500, with default header values. error retrieving checkpoint */ diff --git a/pkg/platform/api/mono/mono_client/version_control/get_commit_history_parameters.go b/pkg/platform/api/mono/mono_client/version_control/get_commit_history_parameters.go index afa9d8bcb9..f0c4ae8bf9 100644 --- a/pkg/platform/api/mono/mono_client/version_control/get_commit_history_parameters.go +++ b/pkg/platform/api/mono/mono_client/version_control/get_commit_history_parameters.go @@ -53,10 +53,12 @@ func NewGetCommitHistoryParamsWithHTTPClient(client *http.Client) *GetCommitHist } } -/* GetCommitHistoryParams contains all the parameters to send to the API endpoint - for the get commit history operation. +/* +GetCommitHistoryParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get commit history operation. + + Typically these are written to a http.Request. */ type GetCommitHistoryParams struct { diff --git a/pkg/platform/api/mono/mono_client/version_control/get_commit_history_responses.go b/pkg/platform/api/mono/mono_client/version_control/get_commit_history_responses.go index c8888fb470..941f7c3d7f 100644 --- a/pkg/platform/api/mono/mono_client/version_control/get_commit_history_responses.go +++ b/pkg/platform/api/mono/mono_client/version_control/get_commit_history_responses.go @@ -57,7 +57,8 @@ func NewGetCommitHistoryOK() *GetCommitHistoryOK { return &GetCommitHistoryOK{} } -/* GetCommitHistoryOK describes a response with status code 200, with default header values. +/* +GetCommitHistoryOK describes a response with status code 200, with default header values. Get commit history starting from the given commit */ @@ -89,7 +90,8 @@ func NewGetCommitHistoryForbidden() *GetCommitHistoryForbidden { return &GetCommitHistoryForbidden{} } -/* GetCommitHistoryForbidden describes a response with status code 403, with default header values. +/* +GetCommitHistoryForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -121,7 +123,8 @@ func NewGetCommitHistoryNotFound() *GetCommitHistoryNotFound { return &GetCommitHistoryNotFound{} } -/* GetCommitHistoryNotFound describes a response with status code 404, with default header values. +/* +GetCommitHistoryNotFound describes a response with status code 404, with default header values. commit was not found */ @@ -153,7 +156,8 @@ func NewGetCommitHistoryInternalServerError() *GetCommitHistoryInternalServerErr return &GetCommitHistoryInternalServerError{} } -/* GetCommitHistoryInternalServerError describes a response with status code 500, with default header values. +/* +GetCommitHistoryInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/version_control/get_commit_parameters.go b/pkg/platform/api/mono/mono_client/version_control/get_commit_parameters.go index 130e266cc0..080151f54f 100644 --- a/pkg/platform/api/mono/mono_client/version_control/get_commit_parameters.go +++ b/pkg/platform/api/mono/mono_client/version_control/get_commit_parameters.go @@ -52,10 +52,12 @@ func NewGetCommitParamsWithHTTPClient(client *http.Client) *GetCommitParams { } } -/* GetCommitParams contains all the parameters to send to the API endpoint - for the get commit operation. +/* +GetCommitParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get commit operation. + + Typically these are written to a http.Request. */ type GetCommitParams struct { diff --git a/pkg/platform/api/mono/mono_client/version_control/get_commit_responses.go b/pkg/platform/api/mono/mono_client/version_control/get_commit_responses.go index 1851f24565..d91dd7b88a 100644 --- a/pkg/platform/api/mono/mono_client/version_control/get_commit_responses.go +++ b/pkg/platform/api/mono/mono_client/version_control/get_commit_responses.go @@ -57,7 +57,8 @@ func NewGetCommitOK() *GetCommitOK { return &GetCommitOK{} } -/* GetCommitOK describes a response with status code 200, with default header values. +/* +GetCommitOK describes a response with status code 200, with default header values. Get commit details */ @@ -89,7 +90,8 @@ func NewGetCommitForbidden() *GetCommitForbidden { return &GetCommitForbidden{} } -/* GetCommitForbidden describes a response with status code 403, with default header values. +/* +GetCommitForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -121,7 +123,8 @@ func NewGetCommitNotFound() *GetCommitNotFound { return &GetCommitNotFound{} } -/* GetCommitNotFound describes a response with status code 404, with default header values. +/* +GetCommitNotFound describes a response with status code 404, with default header values. commit was not found */ @@ -153,7 +156,8 @@ func NewGetCommitInternalServerError() *GetCommitInternalServerError { return &GetCommitInternalServerError{} } -/* GetCommitInternalServerError describes a response with status code 500, with default header values. +/* +GetCommitInternalServerError describes a response with status code 500, with default header values. error retrieving commit */ diff --git a/pkg/platform/api/mono/mono_client/version_control/get_h_a_repo_parameters.go b/pkg/platform/api/mono/mono_client/version_control/get_h_a_repo_parameters.go index 4337fda384..4e1e19a3ec 100644 --- a/pkg/platform/api/mono/mono_client/version_control/get_h_a_repo_parameters.go +++ b/pkg/platform/api/mono/mono_client/version_control/get_h_a_repo_parameters.go @@ -52,10 +52,12 @@ func NewGetHARepoParamsWithHTTPClient(client *http.Client) *GetHARepoParams { } } -/* GetHARepoParams contains all the parameters to send to the API endpoint - for the get h a repo operation. +/* +GetHARepoParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get h a repo operation. + + Typically these are written to a http.Request. */ type GetHARepoParams struct { diff --git a/pkg/platform/api/mono/mono_client/version_control/get_h_a_repo_responses.go b/pkg/platform/api/mono/mono_client/version_control/get_h_a_repo_responses.go index edc6d0b30b..a63434d288 100644 --- a/pkg/platform/api/mono/mono_client/version_control/get_h_a_repo_responses.go +++ b/pkg/platform/api/mono/mono_client/version_control/get_h_a_repo_responses.go @@ -63,7 +63,8 @@ func NewGetHARepoOK() *GetHARepoOK { return &GetHARepoOK{} } -/* GetHARepoOK describes a response with status code 200, with default header values. +/* +GetHARepoOK describes a response with status code 200, with default header values. Success */ @@ -95,7 +96,8 @@ func NewGetHARepoBadRequest() *GetHARepoBadRequest { return &GetHARepoBadRequest{} } -/* GetHARepoBadRequest describes a response with status code 400, with default header values. +/* +GetHARepoBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -127,7 +129,8 @@ func NewGetHARepoForbidden() *GetHARepoForbidden { return &GetHARepoForbidden{} } -/* GetHARepoForbidden describes a response with status code 403, with default header values. +/* +GetHARepoForbidden describes a response with status code 403, with default header values. Unauthorized */ @@ -159,7 +162,8 @@ func NewGetHARepoNotFound() *GetHARepoNotFound { return &GetHARepoNotFound{} } -/* GetHARepoNotFound describes a response with status code 404, with default header values. +/* +GetHARepoNotFound describes a response with status code 404, with default header values. Not Found */ @@ -191,7 +195,8 @@ func NewGetHARepoInternalServerError() *GetHARepoInternalServerError { return &GetHARepoInternalServerError{} } -/* GetHARepoInternalServerError describes a response with status code 500, with default header values. +/* +GetHARepoInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/version_control/get_order_from_checkpoint_parameters.go b/pkg/platform/api/mono/mono_client/version_control/get_order_from_checkpoint_parameters.go index 20db41fb39..ce16b474d9 100644 --- a/pkg/platform/api/mono/mono_client/version_control/get_order_from_checkpoint_parameters.go +++ b/pkg/platform/api/mono/mono_client/version_control/get_order_from_checkpoint_parameters.go @@ -54,10 +54,12 @@ func NewGetOrderFromCheckpointParamsWithHTTPClient(client *http.Client) *GetOrde } } -/* GetOrderFromCheckpointParams contains all the parameters to send to the API endpoint - for the get order from checkpoint operation. +/* +GetOrderFromCheckpointParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get order from checkpoint operation. + + Typically these are written to a http.Request. */ type GetOrderFromCheckpointParams struct { diff --git a/pkg/platform/api/mono/mono_client/version_control/get_order_from_checkpoint_responses.go b/pkg/platform/api/mono/mono_client/version_control/get_order_from_checkpoint_responses.go index 7c3d0ee4aa..ef07730d3f 100644 --- a/pkg/platform/api/mono/mono_client/version_control/get_order_from_checkpoint_responses.go +++ b/pkg/platform/api/mono/mono_client/version_control/get_order_from_checkpoint_responses.go @@ -45,7 +45,8 @@ func NewGetOrderFromCheckpointOK() *GetOrderFromCheckpointOK { return &GetOrderFromCheckpointOK{} } -/* GetOrderFromCheckpointOK describes a response with status code 200, with default header values. +/* +GetOrderFromCheckpointOK describes a response with status code 200, with default header values. Generate a solver order for the provided checkpoint data */ @@ -77,7 +78,8 @@ func NewGetOrderFromCheckpointInternalServerError() *GetOrderFromCheckpointInter return &GetOrderFromCheckpointInternalServerError{} } -/* GetOrderFromCheckpointInternalServerError describes a response with status code 500, with default header values. +/* +GetOrderFromCheckpointInternalServerError describes a response with status code 500, with default header values. Error generating order */ diff --git a/pkg/platform/api/mono/mono_client/version_control/get_order_parameters.go b/pkg/platform/api/mono/mono_client/version_control/get_order_parameters.go index 0972fac379..57e6999e64 100644 --- a/pkg/platform/api/mono/mono_client/version_control/get_order_parameters.go +++ b/pkg/platform/api/mono/mono_client/version_control/get_order_parameters.go @@ -52,10 +52,12 @@ func NewGetOrderParamsWithHTTPClient(client *http.Client) *GetOrderParams { } } -/* GetOrderParams contains all the parameters to send to the API endpoint - for the get order operation. +/* +GetOrderParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get order operation. + + Typically these are written to a http.Request. */ type GetOrderParams struct { diff --git a/pkg/platform/api/mono/mono_client/version_control/get_order_responses.go b/pkg/platform/api/mono/mono_client/version_control/get_order_responses.go index fda870a4b3..963a09163b 100644 --- a/pkg/platform/api/mono/mono_client/version_control/get_order_responses.go +++ b/pkg/platform/api/mono/mono_client/version_control/get_order_responses.go @@ -57,7 +57,8 @@ func NewGetOrderOK() *GetOrderOK { return &GetOrderOK{} } -/* GetOrderOK describes a response with status code 200, with default header values. +/* +GetOrderOK describes a response with status code 200, with default header values. Get the solver order for the given commit */ @@ -89,7 +90,8 @@ func NewGetOrderForbidden() *GetOrderForbidden { return &GetOrderForbidden{} } -/* GetOrderForbidden describes a response with status code 403, with default header values. +/* +GetOrderForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -121,7 +123,8 @@ func NewGetOrderNotFound() *GetOrderNotFound { return &GetOrderNotFound{} } -/* GetOrderNotFound describes a response with status code 404, with default header values. +/* +GetOrderNotFound describes a response with status code 404, with default header values. order was not found */ @@ -153,7 +156,8 @@ func NewGetOrderInternalServerError() *GetOrderInternalServerError { return &GetOrderInternalServerError{} } -/* GetOrderInternalServerError describes a response with status code 500, with default header values. +/* +GetOrderInternalServerError describes a response with status code 500, with default header values. error retrieving order */ diff --git a/pkg/platform/api/mono/mono_client/version_control/get_revert_commit_parameters.go b/pkg/platform/api/mono/mono_client/version_control/get_revert_commit_parameters.go index 2b3228dde2..930c9a4008 100644 --- a/pkg/platform/api/mono/mono_client/version_control/get_revert_commit_parameters.go +++ b/pkg/platform/api/mono/mono_client/version_control/get_revert_commit_parameters.go @@ -52,10 +52,12 @@ func NewGetRevertCommitParamsWithHTTPClient(client *http.Client) *GetRevertCommi } } -/* GetRevertCommitParams contains all the parameters to send to the API endpoint - for the get revert commit operation. +/* +GetRevertCommitParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the get revert commit operation. + + Typically these are written to a http.Request. */ type GetRevertCommitParams struct { diff --git a/pkg/platform/api/mono/mono_client/version_control/get_revert_commit_responses.go b/pkg/platform/api/mono/mono_client/version_control/get_revert_commit_responses.go index 6267a43f04..420b5454e9 100644 --- a/pkg/platform/api/mono/mono_client/version_control/get_revert_commit_responses.go +++ b/pkg/platform/api/mono/mono_client/version_control/get_revert_commit_responses.go @@ -57,7 +57,8 @@ func NewGetRevertCommitOK() *GetRevertCommitOK { return &GetRevertCommitOK{} } -/* GetRevertCommitOK describes a response with status code 200, with default header values. +/* +GetRevertCommitOK describes a response with status code 200, with default header values. Calculate a revert commit */ @@ -89,7 +90,8 @@ func NewGetRevertCommitForbidden() *GetRevertCommitForbidden { return &GetRevertCommitForbidden{} } -/* GetRevertCommitForbidden describes a response with status code 403, with default header values. +/* +GetRevertCommitForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -121,7 +123,8 @@ func NewGetRevertCommitNotFound() *GetRevertCommitNotFound { return &GetRevertCommitNotFound{} } -/* GetRevertCommitNotFound describes a response with status code 404, with default header values. +/* +GetRevertCommitNotFound describes a response with status code 404, with default header values. commit was not found */ @@ -153,7 +156,8 @@ func NewGetRevertCommitInternalServerError() *GetRevertCommitInternalServerError return &GetRevertCommitInternalServerError{} } -/* GetRevertCommitInternalServerError describes a response with status code 500, with default header values. +/* +GetRevertCommitInternalServerError describes a response with status code 500, with default header values. error calculating commit */ diff --git a/pkg/platform/api/mono/mono_client/version_control/merge_branch_parameters.go b/pkg/platform/api/mono/mono_client/version_control/merge_branch_parameters.go index 3921d53a9c..c1782a17d5 100644 --- a/pkg/platform/api/mono/mono_client/version_control/merge_branch_parameters.go +++ b/pkg/platform/api/mono/mono_client/version_control/merge_branch_parameters.go @@ -52,10 +52,12 @@ func NewMergeBranchParamsWithHTTPClient(client *http.Client) *MergeBranchParams } } -/* MergeBranchParams contains all the parameters to send to the API endpoint - for the merge branch operation. +/* +MergeBranchParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the merge branch operation. + + Typically these are written to a http.Request. */ type MergeBranchParams struct { diff --git a/pkg/platform/api/mono/mono_client/version_control/merge_branch_responses.go b/pkg/platform/api/mono/mono_client/version_control/merge_branch_responses.go index 3db59e6979..29cc1fdb46 100644 --- a/pkg/platform/api/mono/mono_client/version_control/merge_branch_responses.go +++ b/pkg/platform/api/mono/mono_client/version_control/merge_branch_responses.go @@ -69,7 +69,8 @@ func NewMergeBranchOK() *MergeBranchOK { return &MergeBranchOK{} } -/* MergeBranchOK describes a response with status code 200, with default header values. +/* +MergeBranchOK describes a response with status code 200, with default header values. Merge the branch with the branch it was forked from using the given strategy or preview options */ @@ -101,7 +102,8 @@ func NewMergeBranchBadRequest() *MergeBranchBadRequest { return &MergeBranchBadRequest{} } -/* MergeBranchBadRequest describes a response with status code 400, with default header values. +/* +MergeBranchBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -133,7 +135,8 @@ func NewMergeBranchForbidden() *MergeBranchForbidden { return &MergeBranchForbidden{} } -/* MergeBranchForbidden describes a response with status code 403, with default header values. +/* +MergeBranchForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -165,7 +168,8 @@ func NewMergeBranchNotFound() *MergeBranchNotFound { return &MergeBranchNotFound{} } -/* MergeBranchNotFound describes a response with status code 404, with default header values. +/* +MergeBranchNotFound describes a response with status code 404, with default header values. branch was not found */ @@ -197,7 +201,8 @@ func NewMergeBranchConflict() *MergeBranchConflict { return &MergeBranchConflict{} } -/* MergeBranchConflict describes a response with status code 409, with default header values. +/* +MergeBranchConflict describes a response with status code 409, with default header values. Conflict */ @@ -229,7 +234,8 @@ func NewMergeBranchInternalServerError() *MergeBranchInternalServerError { return &MergeBranchInternalServerError{} } -/* MergeBranchInternalServerError describes a response with status code 500, with default header values. +/* +MergeBranchInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/version_control/merge_commits_parameters.go b/pkg/platform/api/mono/mono_client/version_control/merge_commits_parameters.go index f2cf1e2cb4..d4c84d4ec9 100644 --- a/pkg/platform/api/mono/mono_client/version_control/merge_commits_parameters.go +++ b/pkg/platform/api/mono/mono_client/version_control/merge_commits_parameters.go @@ -52,10 +52,12 @@ func NewMergeCommitsParamsWithHTTPClient(client *http.Client) *MergeCommitsParam } } -/* MergeCommitsParams contains all the parameters to send to the API endpoint - for the merge commits operation. +/* +MergeCommitsParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the merge commits operation. + + Typically these are written to a http.Request. */ type MergeCommitsParams struct { diff --git a/pkg/platform/api/mono/mono_client/version_control/merge_commits_responses.go b/pkg/platform/api/mono/mono_client/version_control/merge_commits_responses.go index faa6231526..43db4622b9 100644 --- a/pkg/platform/api/mono/mono_client/version_control/merge_commits_responses.go +++ b/pkg/platform/api/mono/mono_client/version_control/merge_commits_responses.go @@ -75,7 +75,8 @@ func NewMergeCommitsOK() *MergeCommitsOK { return &MergeCommitsOK{} } -/* MergeCommitsOK describes a response with status code 200, with default header values. +/* +MergeCommitsOK describes a response with status code 200, with default header values. Merge the commit with the given commit */ @@ -107,7 +108,8 @@ func NewMergeCommitsNoContent() *MergeCommitsNoContent { return &MergeCommitsNoContent{} } -/* MergeCommitsNoContent describes a response with status code 204, with default header values. +/* +MergeCommitsNoContent describes a response with status code 204, with default header values. No merge required */ @@ -139,7 +141,8 @@ func NewMergeCommitsBadRequest() *MergeCommitsBadRequest { return &MergeCommitsBadRequest{} } -/* MergeCommitsBadRequest describes a response with status code 400, with default header values. +/* +MergeCommitsBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -171,7 +174,8 @@ func NewMergeCommitsForbidden() *MergeCommitsForbidden { return &MergeCommitsForbidden{} } -/* MergeCommitsForbidden describes a response with status code 403, with default header values. +/* +MergeCommitsForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -203,7 +207,8 @@ func NewMergeCommitsNotFound() *MergeCommitsNotFound { return &MergeCommitsNotFound{} } -/* MergeCommitsNotFound describes a response with status code 404, with default header values. +/* +MergeCommitsNotFound describes a response with status code 404, with default header values. One of the commits was not found */ @@ -235,7 +240,8 @@ func NewMergeCommitsConflict() *MergeCommitsConflict { return &MergeCommitsConflict{} } -/* MergeCommitsConflict describes a response with status code 409, with default header values. +/* +MergeCommitsConflict describes a response with status code 409, with default header values. Conflict. Specifically due to commitWithChanges being in the history of commitReceivingChanges. */ @@ -267,7 +273,8 @@ func NewMergeCommitsInternalServerError() *MergeCommitsInternalServerError { return &MergeCommitsInternalServerError{} } -/* MergeCommitsInternalServerError describes a response with status code 500, with default header values. +/* +MergeCommitsInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/version_control/remove_tag_parameters.go b/pkg/platform/api/mono/mono_client/version_control/remove_tag_parameters.go index baa92b4d96..0433641f71 100644 --- a/pkg/platform/api/mono/mono_client/version_control/remove_tag_parameters.go +++ b/pkg/platform/api/mono/mono_client/version_control/remove_tag_parameters.go @@ -52,10 +52,12 @@ func NewRemoveTagParamsWithHTTPClient(client *http.Client) *RemoveTagParams { } } -/* RemoveTagParams contains all the parameters to send to the API endpoint - for the remove tag operation. +/* +RemoveTagParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the remove tag operation. + + Typically these are written to a http.Request. */ type RemoveTagParams struct { diff --git a/pkg/platform/api/mono/mono_client/version_control/remove_tag_responses.go b/pkg/platform/api/mono/mono_client/version_control/remove_tag_responses.go index fb5f8ccab5..c701e8581a 100644 --- a/pkg/platform/api/mono/mono_client/version_control/remove_tag_responses.go +++ b/pkg/platform/api/mono/mono_client/version_control/remove_tag_responses.go @@ -69,7 +69,8 @@ func NewRemoveTagOK() *RemoveTagOK { return &RemoveTagOK{} } -/* RemoveTagOK describes a response with status code 200, with default header values. +/* +RemoveTagOK describes a response with status code 200, with default header values. Success */ @@ -101,7 +102,8 @@ func NewRemoveTagBadRequest() *RemoveTagBadRequest { return &RemoveTagBadRequest{} } -/* RemoveTagBadRequest describes a response with status code 400, with default header values. +/* +RemoveTagBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -133,7 +135,8 @@ func NewRemoveTagForbidden() *RemoveTagForbidden { return &RemoveTagForbidden{} } -/* RemoveTagForbidden describes a response with status code 403, with default header values. +/* +RemoveTagForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -165,7 +168,8 @@ func NewRemoveTagNotFound() *RemoveTagNotFound { return &RemoveTagNotFound{} } -/* RemoveTagNotFound describes a response with status code 404, with default header values. +/* +RemoveTagNotFound describes a response with status code 404, with default header values. Not Found */ @@ -197,7 +201,8 @@ func NewRemoveTagConflict() *RemoveTagConflict { return &RemoveTagConflict{} } -/* RemoveTagConflict describes a response with status code 409, with default header values. +/* +RemoveTagConflict describes a response with status code 409, with default header values. Conflict */ @@ -229,7 +234,8 @@ func NewRemoveTagInternalServerError() *RemoveTagInternalServerError { return &RemoveTagInternalServerError{} } -/* RemoveTagInternalServerError describes a response with status code 500, with default header values. +/* +RemoveTagInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/version_control/update_branch_parameters.go b/pkg/platform/api/mono/mono_client/version_control/update_branch_parameters.go index 97716b3ca1..5b77ea4145 100644 --- a/pkg/platform/api/mono/mono_client/version_control/update_branch_parameters.go +++ b/pkg/platform/api/mono/mono_client/version_control/update_branch_parameters.go @@ -54,10 +54,12 @@ func NewUpdateBranchParamsWithHTTPClient(client *http.Client) *UpdateBranchParam } } -/* UpdateBranchParams contains all the parameters to send to the API endpoint - for the update branch operation. +/* +UpdateBranchParams contains all the parameters to send to the API endpoint - Typically these are written to a http.Request. + for the update branch operation. + + Typically these are written to a http.Request. */ type UpdateBranchParams struct { diff --git a/pkg/platform/api/mono/mono_client/version_control/update_branch_responses.go b/pkg/platform/api/mono/mono_client/version_control/update_branch_responses.go index bea18e723b..45b704a171 100644 --- a/pkg/platform/api/mono/mono_client/version_control/update_branch_responses.go +++ b/pkg/platform/api/mono/mono_client/version_control/update_branch_responses.go @@ -69,7 +69,8 @@ func NewUpdateBranchOK() *UpdateBranchOK { return &UpdateBranchOK{} } -/* UpdateBranchOK describes a response with status code 200, with default header values. +/* +UpdateBranchOK describes a response with status code 200, with default header values. Branch was updated, returns resulting branch */ @@ -101,7 +102,8 @@ func NewUpdateBranchBadRequest() *UpdateBranchBadRequest { return &UpdateBranchBadRequest{} } -/* UpdateBranchBadRequest describes a response with status code 400, with default header values. +/* +UpdateBranchBadRequest describes a response with status code 400, with default header values. Bad Request */ @@ -133,7 +135,8 @@ func NewUpdateBranchForbidden() *UpdateBranchForbidden { return &UpdateBranchForbidden{} } -/* UpdateBranchForbidden describes a response with status code 403, with default header values. +/* +UpdateBranchForbidden describes a response with status code 403, with default header values. Forbidden */ @@ -165,7 +168,8 @@ func NewUpdateBranchNotFound() *UpdateBranchNotFound { return &UpdateBranchNotFound{} } -/* UpdateBranchNotFound describes a response with status code 404, with default header values. +/* +UpdateBranchNotFound describes a response with status code 404, with default header values. Branch Not Found */ @@ -197,7 +201,8 @@ func NewUpdateBranchConflict() *UpdateBranchConflict { return &UpdateBranchConflict{} } -/* UpdateBranchConflict describes a response with status code 409, with default header values. +/* +UpdateBranchConflict describes a response with status code 409, with default header values. Conflict */ @@ -229,7 +234,8 @@ func NewUpdateBranchInternalServerError() *UpdateBranchInternalServerError { return &UpdateBranchInternalServerError{} } -/* UpdateBranchInternalServerError describes a response with status code 500, with default header values. +/* +UpdateBranchInternalServerError describes a response with status code 500, with default header values. Server Error */ diff --git a/pkg/platform/api/mono/mono_client/version_control/version_control_client.go b/pkg/platform/api/mono/mono_client/version_control/version_control_client.go index 89e27ab144..434f9c1c0e 100644 --- a/pkg/platform/api/mono/mono_client/version_control/version_control_client.go +++ b/pkg/platform/api/mono/mono_client/version_control/version_control_client.go @@ -66,7 +66,7 @@ type ClientService interface { } /* - AddCommit add commit API +AddCommit add commit API */ func (a *Client) AddCommit(params *AddCommitParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddCommitOK, error) { // TODO: Validate the params before sending @@ -105,9 +105,9 @@ func (a *Client) AddCommit(params *AddCommitParams, authInfo runtime.ClientAuthI } /* - AddTag adds tag +AddTag adds tag - Add a tag by org and project names +Add a tag by org and project names */ func (a *Client) AddTag(params *AddTagParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddTagOK, error) { // TODO: Validate the params before sending @@ -146,7 +146,7 @@ func (a *Client) AddTag(params *AddTagParams, authInfo runtime.ClientAuthInfoWri } /* - DeleteBranch Delete the branch and all descendent forks that are of the same project. Removes 'tracks' and 'tracking_type' data from all descendent forks in different projects. +DeleteBranch Delete the branch and all descendent forks that are of the same project. Removes 'tracks' and 'tracking_type' data from all descendent forks in different projects. */ func (a *Client) DeleteBranch(params *DeleteBranchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBranchOK, error) { // TODO: Validate the params before sending @@ -185,9 +185,9 @@ func (a *Client) DeleteBranch(params *DeleteBranchParams, authInfo runtime.Clien } /* - EditTag edits tag +EditTag edits tag - Edit a tag by org and project names, and tag label +Edit a tag by org and project names, and tag label */ func (a *Client) EditTag(params *EditTagParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EditTagOK, error) { // TODO: Validate the params before sending @@ -226,7 +226,7 @@ func (a *Client) EditTag(params *EditTagParams, authInfo runtime.ClientAuthInfoW } /* - GetBranch get branch API +GetBranch get branch API */ func (a *Client) GetBranch(params *GetBranchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBranchOK, error) { // TODO: Validate the params before sending @@ -265,7 +265,7 @@ func (a *Client) GetBranch(params *GetBranchParams, authInfo runtime.ClientAuthI } /* - GetCheckpoint get checkpoint API +GetCheckpoint get checkpoint API */ func (a *Client) GetCheckpoint(params *GetCheckpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCheckpointOK, error) { // TODO: Validate the params before sending @@ -304,7 +304,7 @@ func (a *Client) GetCheckpoint(params *GetCheckpointParams, authInfo runtime.Cli } /* - GetCommit get commit API +GetCommit get commit API */ func (a *Client) GetCommit(params *GetCommitParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCommitOK, error) { // TODO: Validate the params before sending @@ -343,7 +343,7 @@ func (a *Client) GetCommit(params *GetCommitParams, authInfo runtime.ClientAuthI } /* - GetCommitHistory get commit history API +GetCommitHistory get commit history API */ func (a *Client) GetCommitHistory(params *GetCommitHistoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCommitHistoryOK, error) { // TODO: Validate the params before sending @@ -382,9 +382,9 @@ func (a *Client) GetCommitHistory(params *GetCommitHistoryParams, authInfo runti } /* - GetHARepo gets h a repo info +GetHARepo gets h a repo info - Get HARepo by org and project names and HARepo label +Get HARepo by org and project names and HARepo label */ func (a *Client) GetHARepo(params *GetHARepoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHARepoOK, error) { // TODO: Validate the params before sending @@ -423,7 +423,7 @@ func (a *Client) GetHARepo(params *GetHARepoParams, authInfo runtime.ClientAuthI } /* - GetOrder get order API +GetOrder get order API */ func (a *Client) GetOrder(params *GetOrderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrderOK, error) { // TODO: Validate the params before sending @@ -462,7 +462,7 @@ func (a *Client) GetOrder(params *GetOrderParams, authInfo runtime.ClientAuthInf } /* - GetOrderFromCheckpoint get order from checkpoint API +GetOrderFromCheckpoint get order from checkpoint API */ func (a *Client) GetOrderFromCheckpoint(params *GetOrderFromCheckpointParams, opts ...ClientOption) (*GetOrderFromCheckpointOK, error) { // TODO: Validate the params before sending @@ -500,7 +500,7 @@ func (a *Client) GetOrderFromCheckpoint(params *GetOrderFromCheckpointParams, op } /* - GetRevertCommit get revert commit API +GetRevertCommit get revert commit API */ func (a *Client) GetRevertCommit(params *GetRevertCommitParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRevertCommitOK, error) { // TODO: Validate the params before sending @@ -539,7 +539,7 @@ func (a *Client) GetRevertCommit(params *GetRevertCommitParams, authInfo runtime } /* - MergeBranch merge branch API +MergeBranch merge branch API */ func (a *Client) MergeBranch(params *MergeBranchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MergeBranchOK, error) { // TODO: Validate the params before sending @@ -578,7 +578,7 @@ func (a *Client) MergeBranch(params *MergeBranchParams, authInfo runtime.ClientA } /* - MergeCommits merge commits API +MergeCommits merge commits API */ func (a *Client) MergeCommits(params *MergeCommitsParams, opts ...ClientOption) (*MergeCommitsOK, *MergeCommitsNoContent, error) { // TODO: Validate the params before sending @@ -617,9 +617,9 @@ func (a *Client) MergeCommits(params *MergeCommitsParams, opts ...ClientOption) } /* - RemoveTag removes tag +RemoveTag removes tag - Remove a tag by org and project names, and tag label +Remove a tag by org and project names, and tag label */ func (a *Client) RemoveTag(params *RemoveTagParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveTagOK, error) { // TODO: Validate the params before sending @@ -658,7 +658,7 @@ func (a *Client) RemoveTag(params *RemoveTagParams, authInfo runtime.ClientAuthI } /* - UpdateBranch update branch API +UpdateBranch update branch API */ func (a *Client) UpdateBranch(params *UpdateBranchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBranchOK, error) { // TODO: Validate the params before sending diff --git a/pkg/platform/api/mono/mono_models/user.go b/pkg/platform/api/mono/mono_models/user.go index ed5d18c857..6f0b481004 100644 --- a/pkg/platform/api/mono/mono_models/user.go +++ b/pkg/platform/api/mono/mono_models/user.go @@ -338,10 +338,6 @@ type UserOrganizationsItems0 struct { // u r lname URLname string `json:"URLname,omitempty"` - // created - // Format: date-time - Created strfmt.DateTime `json:"created,omitempty"` - // organization ID // Format: uuid OrganizationID strfmt.UUID `json:"organizationID,omitempty"` @@ -360,10 +356,6 @@ type UserOrganizationsItems0 struct { func (m *UserOrganizationsItems0) Validate(formats strfmt.Registry) error { var res []error - if err := m.validateCreated(formats); err != nil { - res = append(res, err) - } - if err := m.validateOrganizationID(formats); err != nil { res = append(res, err) } @@ -374,18 +366,6 @@ func (m *UserOrganizationsItems0) Validate(formats strfmt.Registry) error { return nil } -func (m *UserOrganizationsItems0) validateCreated(formats strfmt.Registry) error { - if swag.IsZero(m.Created) { // not required - return nil - } - - if err := validate.FormatOf("created", "body", "date-time", m.Created.String(), formats); err != nil { - return err - } - - return nil -} - func (m *UserOrganizationsItems0) validateOrganizationID(formats strfmt.Registry) error { if swag.IsZero(m.OrganizationID) { // not required return nil diff --git a/pkg/platform/api/svc/request/analytics.go b/pkg/platform/api/svc/request/analytics.go index 1f1f8e87d7..713ebd2b87 100644 --- a/pkg/platform/api/svc/request/analytics.go +++ b/pkg/platform/api/svc/request/analytics.go @@ -28,12 +28,12 @@ func (e *AnalyticsEvent) Query() string { }` } -func (e *AnalyticsEvent) Vars() (map[string]interface{}, error) { +func (e *AnalyticsEvent) Vars() map[string]interface{} { return map[string]interface{}{ "category": e.category, "action": e.action, "source": e.source, "label": e.label, "dimensionsJson": e.dimensionsJson, - }, nil + } } diff --git a/pkg/platform/api/svc/request/availableupdate.go b/pkg/platform/api/svc/request/availableupdate.go index 496c22fd3e..6fc88dd9c1 100644 --- a/pkg/platform/api/svc/request/availableupdate.go +++ b/pkg/platform/api/svc/request/availableupdate.go @@ -24,9 +24,9 @@ func (u *AvailableUpdate) Query() string { }` } -func (u *AvailableUpdate) Vars() (map[string]interface{}, error) { +func (u *AvailableUpdate) Vars() map[string]interface{} { return map[string]interface{}{ "desiredChannel": u.desiredChannel, "desiredVersion": u.desiredVersion, - }, nil + } } diff --git a/pkg/platform/api/svc/request/configchanged.go b/pkg/platform/api/svc/request/configchanged.go index b3dd9df25d..d6f99c56fa 100644 --- a/pkg/platform/api/svc/request/configchanged.go +++ b/pkg/platform/api/svc/request/configchanged.go @@ -5,7 +5,7 @@ type ConfigChanged struct { } func NewConfigChanged(key string) *ConfigChanged { - return &ConfigChanged{key: key} + return &ConfigChanged{key} } func (e *ConfigChanged) Query() string { @@ -16,6 +16,6 @@ func (e *ConfigChanged) Query() string { }` } -func (e *ConfigChanged) Vars() (map[string]interface{}, error) { - return map[string]interface{}{"key": e.key}, nil +func (e *ConfigChanged) Vars() map[string]interface{} { + return map[string]interface{}{"key": e.key} } diff --git a/pkg/platform/api/svc/request/deprecation.go b/pkg/platform/api/svc/request/deprecation.go deleted file mode 100644 index 6a3a4b1d29..0000000000 --- a/pkg/platform/api/svc/request/deprecation.go +++ /dev/null @@ -1,23 +0,0 @@ -package request - -type DeprecationRequest struct { -} - -func NewDeprecationRequest() *DeprecationRequest { - return &DeprecationRequest{} -} - -func (d *DeprecationRequest) Query() string { - return `query { - checkDeprecation { - version - date - dateReached - reason - } - }` -} - -func (d *DeprecationRequest) Vars() (map[string]interface{}, error) { - return nil, nil -} diff --git a/pkg/platform/api/svc/request/fetchlogtail.go b/pkg/platform/api/svc/request/fetchlogtail.go index ecf5efe695..db50f28ee4 100644 --- a/pkg/platform/api/svc/request/fetchlogtail.go +++ b/pkg/platform/api/svc/request/fetchlogtail.go @@ -1,7 +1,6 @@ package request -type FetchLogTail struct { -} +type FetchLogTail struct{} func NewFetchLogTail() *FetchLogTail { return &FetchLogTail{} @@ -13,6 +12,6 @@ func (r *FetchLogTail) Query() string { }` } -func (r *FetchLogTail) Vars() (map[string]interface{}, error) { - return nil, nil +func (r *FetchLogTail) Vars() map[string]interface{} { + return nil } diff --git a/pkg/platform/api/svc/request/messaging.go b/pkg/platform/api/svc/request/messaging.go index a762e924ee..71f251f24f 100644 --- a/pkg/platform/api/svc/request/messaging.go +++ b/pkg/platform/api/svc/request/messaging.go @@ -23,9 +23,9 @@ func (m *MessagingRequest) Query() string { }` } -func (m *MessagingRequest) Vars() (map[string]interface{}, error) { +func (m *MessagingRequest) Vars() map[string]interface{} { return map[string]interface{}{ "command": m.command, "flags": m.flags, - }, nil + } } diff --git a/pkg/platform/api/svc/request/projects.go b/pkg/platform/api/svc/request/projects.go index 14f28bb4d5..db5b96222a 100644 --- a/pkg/platform/api/svc/request/projects.go +++ b/pkg/platform/api/svc/request/projects.go @@ -1,7 +1,6 @@ package request -type LocalProjectsRequest struct { -} +type LocalProjectsRequest struct{} func NewLocalProjectsRequest() *LocalProjectsRequest { return &LocalProjectsRequest{} @@ -16,6 +15,6 @@ func (l *LocalProjectsRequest) Query() string { }` } -func (l *LocalProjectsRequest) Vars() (map[string]interface{}, error) { - return nil, nil +func (l *LocalProjectsRequest) Vars() map[string]interface{} { + return nil } diff --git a/pkg/platform/api/svc/request/reportrtusage.go b/pkg/platform/api/svc/request/reportrtusage.go index c0eda69d2b..027c04b6ca 100644 --- a/pkg/platform/api/svc/request/reportrtusage.go +++ b/pkg/platform/api/svc/request/reportrtusage.go @@ -24,11 +24,11 @@ func (e *ReportRuntimeUsage) Query() string { }` } -func (e *ReportRuntimeUsage) Vars() (map[string]interface{}, error) { +func (e *ReportRuntimeUsage) Vars() map[string]interface{} { return map[string]interface{}{ "pid": e.pid, "exec": e.exec, "source": e.source, "dimensionsJson": e.dimensionsJson, - }, nil + } } diff --git a/pkg/platform/api/svc/request/version.go b/pkg/platform/api/svc/request/version.go index f1dd69232d..7b1c1409fe 100644 --- a/pkg/platform/api/svc/request/version.go +++ b/pkg/platform/api/svc/request/version.go @@ -1,7 +1,6 @@ package request -type VersionRequest struct { -} +type VersionRequest struct{} func NewVersionRequest() *VersionRequest { return &VersionRequest{} @@ -21,6 +20,6 @@ func (v *VersionRequest) Query() string { }` } -func (v *VersionRequest) Vars() (map[string]interface{}, error) { - return nil, nil +func (v *VersionRequest) Vars() map[string]interface{} { + return nil } diff --git a/pkg/platform/model/buildplanner.go b/pkg/platform/model/buildplanner.go index 95339e1d38..18a11603ce 100644 --- a/pkg/platform/model/buildplanner.go +++ b/pkg/platform/model/buildplanner.go @@ -225,7 +225,7 @@ type StageCommitParams struct { RequirementVersion []bpModel.VersionRequirement RequirementNamespace Namespace Operation bpModel.Operation - TimeStamp *time.Time + TimeStamp *strfmt.DateTime // ... or commits can have an expression (e.g. from pull). When pulling an expression, we do not // compute its changes into a series of above operations. Instead, we just pass the new // expression directly. @@ -329,7 +329,7 @@ type CreateProjectParams struct { Language string Version string Private bool - Timestamp time.Time + Timestamp strfmt.DateTime Description string Expr *buildexpression.BuildExpression } diff --git a/pkg/platform/model/inventory.go b/pkg/platform/model/inventory.go index 587889ba05..56182a5601 100644 --- a/pkg/platform/model/inventory.go +++ b/pkg/platform/model/inventory.go @@ -4,7 +4,6 @@ import ( "fmt" "strconv" "strings" - "time" "github.com/go-openapi/strfmt" @@ -26,8 +25,6 @@ func (e ErrNoMatchingPlatform) Error() string { return "no matching platform" } -type ErrSearch404 struct{ *locale.LocalizedError } - // IngredientAndVersion is a sane version of whatever the hell it is go-swagger thinks it's doing type IngredientAndVersion struct { *inventory_models.SearchIngredientsResponseItem @@ -44,14 +41,14 @@ var platformCache []*Platform // SearchIngredients will return all ingredients+ingredientVersions that fuzzily // match the ingredient name. -func SearchIngredients(namespace string, name string, includeVersions bool, ts *time.Time) ([]*IngredientAndVersion, error) { - return searchIngredientsNamespace(namespace, name, includeVersions, false, ts) +func SearchIngredients(namespace Namespace, name string, includeVersions bool) ([]*IngredientAndVersion, error) { + return searchIngredientsNamespace(namespace, name, includeVersions, false) } // SearchIngredientsStrict will return all ingredients+ingredientVersions that // strictly match the ingredient name. -func SearchIngredientsStrict(namespace string, name string, caseSensitive bool, includeVersions bool, ts *time.Time) ([]*IngredientAndVersion, error) { - results, err := searchIngredientsNamespace(namespace, name, includeVersions, true, ts) +func SearchIngredientsStrict(namespace Namespace, name string, caseSensitive bool, includeVersions bool) ([]*IngredientAndVersion, error) { + results, err := searchIngredientsNamespace(namespace, name, includeVersions, true) if err != nil { return nil, err } @@ -108,28 +105,24 @@ type ErrTooManyMatches struct { Query string } -func searchIngredientsNamespace(ns string, name string, includeVersions bool, exactOnly bool, ts *time.Time) ([]*IngredientAndVersion, error) { +func searchIngredientsNamespace(ns Namespace, name string, includeVersions bool, exactOnly bool) ([]*IngredientAndVersion, error) { limit := int64(100) offset := int64(0) client := inventory.Get() + namespace := ns.String() params := inventory_operations.NewSearchIngredientsParams() params.SetQ(&name) if exactOnly { params.SetExactOnly(&exactOnly) } - if ns != "" { - params.SetNamespaces(&ns) + if ns.Type() != NamespaceBlank { + params.SetNamespaces(&namespace) } params.SetLimit(&limit) params.SetHTTPClient(api.NewHTTPClient()) - if ts != nil { - dt := strfmt.DateTime(*ts) - params.SetStateAt(&dt) - } - var ingredients []*IngredientAndVersion var entries []*inventory_models.SearchIngredientsResponseItem for offset == 0 || len(entries) == int(limit) { @@ -142,11 +135,7 @@ func searchIngredientsNamespace(ns string, name string, includeVersions bool, ex results, err := client.SearchIngredients(params, authentication.ClientAuth()) if err != nil { if sidErr, ok := err.(*inventory_operations.SearchIngredientsDefault); ok { - errv := locale.NewError(*sidErr.Payload.Message) - if sidErr.Code() == 404 { - return nil, &ErrSearch404{errv} - } - return nil, errv + return nil, locale.NewError(*sidErr.Payload.Message) } return nil, errs.Wrap(err, "SearchIngredients failed") } @@ -412,14 +401,14 @@ func FetchIngredientVersions(ingredientID *strfmt.UUID) ([]*inventory_models.Ing } // FetchLatestTimeStamp fetches the latest timestamp from the inventory service. -func FetchLatestTimeStamp() (time.Time, error) { +func FetchLatestTimeStamp() (*strfmt.DateTime, error) { client := inventory.Get() result, err := client.GetLatestTimestamp(inventory_operations.NewGetLatestTimestampParams()) if err != nil { - return time.Now(), errs.Wrap(err, "GetLatestTimestamp failed") + return nil, errs.Wrap(err, "GetLatestTimestamp failed") } - return time.Time(*result.Payload.Timestamp), nil + return result.Payload.Timestamp, nil } func FetchNormalizedName(namespace Namespace, name string) (string, error) { diff --git a/pkg/platform/model/svc.go b/pkg/platform/model/svc.go index ce653b58fe..40d206614d 100644 --- a/pkg/platform/model/svc.go +++ b/pkg/platform/model/svc.go @@ -45,14 +45,10 @@ func (m *SvcModel) request(ctx context.Context, request gqlclient.Request, resp if err != nil { reqError := &gqlclient.RequestError{} if errors.As(err, &reqError) && (!condition.BuiltViaCI() || condition.InTest()) { - vars, err := request.Vars() - if err != nil { - return errs.Wrap(err, "Could not get variables") - } logging.Debug( "svc client gql request failed - query: %q, vars: %q", reqError.Request.Query(), - jsonFromMap(vars), + jsonFromMap(reqError.Request.Vars()), ) } return err diff --git a/pkg/platform/model/vcs.go b/pkg/platform/model/vcs.go index 40295f3643..be13732b22 100644 --- a/pkg/platform/model/vcs.go +++ b/pkg/platform/model/vcs.go @@ -81,8 +81,8 @@ const ( // NamespaceCamelFlagsMatch is the namespace used for passing camel flags NamespaceCamelFlagsMatch = `^camel-flags$` - // NamespaceOrgMatch is the namespace used for org specific requirements - NamespaceOrgMatch = `^org\/` + // NamespaceSharedMatch is the namespace used for shared requirements (usually runtime libraries) + NamespaceSharedMatch = `^shared$` // NamespaceBuildFlagsMatch is the namespace used for passing build flags NamespaceBuildFlagsMatch = `^build-flags$` @@ -133,8 +133,6 @@ var ( NamespaceBundle = NamespaceType{"bundle", "bundles", NamespaceBundlesMatch} NamespaceLanguage = NamespaceType{"language", "", NamespaceLanguageMatch} NamespacePlatform = NamespaceType{"platform", "", NamespacePlatformMatch} - NamespaceOrg = NamespaceType{"org", "org", NamespaceOrgMatch} - NamespaceRaw = NamespaceType{"raw", "", ""} NamespaceBlank = NamespaceType{"", "", ""} ) @@ -180,10 +178,6 @@ func NewNamespacePackage(language string) Namespace { return Namespace{NamespacePackage, fmt.Sprintf("language/%s", language)} } -func NewRawNamespace(value string) Namespace { - return Namespace{NamespaceRaw, value} -} - func NewBlankNamespace() Namespace { return Namespace{NamespaceBlank, ""} } @@ -203,13 +197,6 @@ func NewNamespacePlatform() Namespace { return Namespace{NamespacePlatform, "platform"} } -func NewOrgNamespace(orgName string) Namespace { - return Namespace{ - nsType: NamespaceOrg, - value: fmt.Sprintf("org/%s", orgName), - } -} - func LanguageFromNamespace(ns string) string { values := strings.Split(ns, "/") if len(values) != 2 { diff --git a/pkg/platform/runtime/buildexpression/buildexpression.go b/pkg/platform/runtime/buildexpression/buildexpression.go index aa453a9b1a..64a2e88886 100644 --- a/pkg/platform/runtime/buildexpression/buildexpression.go +++ b/pkg/platform/runtime/buildexpression/buildexpression.go @@ -872,7 +872,7 @@ func (e *BuildExpression) removePlatform(platformID strfmt.UUID) error { return nil } -func (e *BuildExpression) UpdateTimestamp(timestamp time.Time) error { +func (e *BuildExpression) UpdateTimestamp(timestamp strfmt.DateTime) error { formatted, err := time.Parse(time.RFC3339, timestamp.String()) if err != nil { return errs.Wrap(err, "Could not parse latest timestamp") diff --git a/pkg/platform/runtime/setup/buildlog/buildlog_test.go b/pkg/platform/runtime/setup/buildlog/buildlog_test.go index 7743722ebf..11a963338d 100644 --- a/pkg/platform/runtime/setup/buildlog/buildlog_test.go +++ b/pkg/platform/runtime/setup/buildlog/buildlog_test.go @@ -197,7 +197,7 @@ func TestBuildLog(t *testing.T) { cm := &connectionMock{} tt.ConnectionMock(t, cm) - bl, err := NewWithCustomConnections(artifactMap, cm, em, recipeArtifact.ArtifactID, fileutils.TempFilePathUnsafe("", "")) + bl, err := NewWithCustomConnections(artifactMap, cm, em, recipeArtifact.ArtifactID, fileutils.TempFilePathUnsafe()) require.NoError(t, err) var downloads []artifact.ArtifactID diff --git a/test/integration/auth_int_test.go b/test/integration/auth_int_test.go index c1027b5fb7..3b42136177 100644 --- a/test/integration/auth_int_test.go +++ b/test/integration/auth_int_test.go @@ -34,7 +34,7 @@ func (suite *AuthIntegrationTestSuite) TestAuth() { suite.OnlyRunForTags(tagsuite.Auth, tagsuite.Critical) ts := e2e.New(suite.T(), false) defer ts.Close() - username, password, _ := ts.CreateNewUser() + username, password := ts.CreateNewUser() ts.LogoutUser() suite.interactiveLogin(ts, username, password) ts.LogoutUser() diff --git a/test/integration/fork_int_test.go b/test/integration/fork_int_test.go index d1acf27b01..ea74b4e889 100644 --- a/test/integration/fork_int_test.go +++ b/test/integration/fork_int_test.go @@ -27,7 +27,7 @@ func (suite *ForkIntegrationTestSuite) TestFork() { ts := e2e.New(suite.T(), false) defer suite.cleanup(ts) - username, _, _ := ts.CreateNewUser() + username, _ := ts.CreateNewUser() cp := ts.Spawn("fork", "ActiveState-CLI/Python3", "--name", "Test-Python3", "--org", username) cp.Expect("fork has been successfully created") diff --git a/test/integration/import_int_test.go b/test/integration/import_int_test.go index a2d518fcf4..d94a86eca3 100644 --- a/test/integration/import_int_test.go +++ b/test/integration/import_int_test.go @@ -81,7 +81,7 @@ func (suite *ImportIntegrationTestSuite) TestImport() { ts := e2e.New(suite.T(), false) defer ts.Close() - username, _, _ := ts.CreateNewUser() + username, _ := ts.CreateNewUser() namespace := fmt.Sprintf("%s/%s", username, "Python3") cp := ts.Spawn("init", "--language", "python", namespace, ts.Dirs.Work) diff --git a/test/integration/package_int_test.go b/test/integration/package_int_test.go index dc215dcc39..280337dcb0 100644 --- a/test/integration/package_int_test.go +++ b/test/integration/package_int_test.go @@ -329,7 +329,7 @@ func (suite *PackageIntegrationTestSuite) TestPackage_operation() { ts := e2e.New(suite.T(), false) defer ts.Close() - username, _, _ := ts.CreateNewUser() + username, _ := ts.CreateNewUser() namespace := fmt.Sprintf("%s/%s", username, "python3-pkgtest") cp := ts.Spawn("fork", "ActiveState-CLI/Packages", "--org", username, "--name", "python3-pkgtest") diff --git a/test/integration/publish_int_test.go b/test/integration/publish_int_test.go deleted file mode 100644 index ef6a84fd64..0000000000 --- a/test/integration/publish_int_test.go +++ /dev/null @@ -1,430 +0,0 @@ -package integration - -import ( - "fmt" - "os" - "regexp" - "testing" - - "github.com/ActiveState/cli/internal/constants" - "github.com/ActiveState/cli/internal/fileutils" - "github.com/ActiveState/cli/internal/rtutils/ptr" - "github.com/ActiveState/cli/internal/strutils" - "github.com/ActiveState/cli/internal/testhelpers/e2e" - "github.com/ActiveState/cli/internal/testhelpers/tagsuite" - "github.com/ActiveState/cli/pkg/platform/api/graphql/request" - "github.com/stretchr/testify/suite" - "gopkg.in/yaml.v3" -) - -var editorFileRx = regexp.MustCompile(`file:\s*?(.*?)\.\s`) - -type PublishIntegrationTestSuite struct { - tagsuite.Suite -} - -func (suite *PublishIntegrationTestSuite) TestPublish() { - suite.OnlyRunForTags(tagsuite.Publish) - - // For development convenience, should not be committed without commenting out.. - // os.Setenv(constants.APIHostEnvVarName, "pr11496.activestate.build") - - if v := os.Getenv(constants.APIHostEnvVarName); v == "" || v == constants.DefaultAPIHost { - suite.T().Skipf("Skipping test as %s is not set, this test can only be run against non-production envs.", constants.APIHostEnvVarName) - return - } - - type input struct { - args []string - metafile *string - editorValue *string - confirmUpload bool - } - - type expect struct { - confirmPrompt []string - immediateOutput string - exitBeforePrompt bool - exitCode int - } - - type invocation struct { - input input - expect expect - } - - tempFile := fileutils.TempFilePathUnsafe("", "*.zip") - defer os.Remove(tempFile) - - tempFileInvalid := fileutils.TempFilePathUnsafe("", "*.notzip") - defer os.Remove(tempFileInvalid) - - ts := e2e.New(suite.T(), false) - defer ts.Close() - - ts.Env = append(ts.Env, - // Publish tests shouldn't run against staging as they pollute the inventory db and artifact cache - constants.APIHostEnvVarName+"="+os.Getenv(constants.APIHostEnvVarName), - ) - - username, _, email := ts.CreateNewUser() - - tests := []struct { - name string - invocations []invocation - }{ - { - "New ingredient with file arg and flags", - []invocation{ - { - input{ - []string{ - tempFile, - "--name", "im-a-name-test1", - "--namespace", "org/{{.Username}}", - "--version", "2.3.4", - "--description", "im-a-description", - "--author", "author-name ", - }, - nil, - nil, - true, - }, - expect{ - []string{ - `Publish following ingredient?`, - `name: im-a-name-test1`, - `namespace: org/{{.Username}}`, - `version: 2.3.4`, - `description: im-a-description`, - `name: author-name`, - `email: author-email@domain.tld`, - }, - "", - false, - 0, - }, - }, - }, - }, - { - "New ingredient with invalid filename", - []invocation{{input{ - []string{tempFileInvalid}, - nil, - nil, - true, - }, - expect{ - []string{}, - "Expected file extension to be either", - false, - 1, - }, - }, - }, - }, - { - "New ingredient with meta file", - []invocation{{ - input{ - []string{"--meta", "{{.MetaFile}}", tempFile}, - ptr.To(` -name: im-a-name-test2 -namespace: org/{{.Username}} -version: 2.3.4 -description: im-a-description -authors: - - name: author-name - email: author-email@domain.tld -`), - nil, - true, - }, - expect{ - []string{ - `Publish following ingredient?`, - `name: im-a-name-test2`, - `namespace: org/{{.Username}}`, - `version: 2.3.4`, - `description: im-a-description`, - `name: author-name`, - `email: author-email@domain.tld`, - }, - "", - false, - 0, - }, - }}, - }, - { - "New ingredient with meta file and flags", - []invocation{{ - input{ - []string{"--meta", "{{.MetaFile}}", tempFile, "--name", "im-a-name-from-flag", "--author", "author-name-from-flag "}, - ptr.To(` -name: im-a-name -namespace: org/{{.Username}} -version: 2.3.4 -description: im-a-description -authors: - - name: author-name - email: author-email@domain.tld -`), - nil, - true, - }, - expect{ - []string{ - `Publish following ingredient?`, - `name: im-a-name-from-flag`, - `namespace: org/{{.Username}}`, - `version: 2.3.4`, - `description: im-a-description`, - `name: author-name-from-flag`, - `email: author-email-from-flag@domain.tld`, - }, - "", - false, - 0, - }, - }}, - }, - { - "New ingredient with editor flag", - []invocation{{ - input{ - []string{tempFile, "--editor"}, - nil, - ptr.To(` -name: im-a-name-test3 -namespace: org/{{.Username}} -version: 2.3.4 -description: im-a-description -authors: - - name: author-name - email: author-email@domain.tld -`), - true, - }, - expect{ - []string{ - `Publish following ingredient?`, - `name: im-a-name-test3`, - `namespace: org/{{.Username}}`, - `version: 2.3.4`, - `description: im-a-description`, - `name: author-name`, - `email: author-email@domain.tld`, - }, - "", - false, - 0, - }, - }}, - }, - { - "Cancel Publish", - []invocation{{ - input{ - []string{tempFile, "--name", "bogus", "--namespace", "org/{{.Username}}"}, - nil, - nil, - false, - }, - expect{ - []string{`name: bogus`}, - "", - false, - 0, - }, - }}, - }, - { - "Edit ingredient without file arg and with flags", - []invocation{ - { // Create ingredient - input{ - []string{tempFile, - "--name", "editable", - "--namespace", "org/{{.Username}}", - "--version", "1.0.0", - }, - nil, - nil, - true, - }, - expect{ - []string{ - `Publish following ingredient?`, - `name: editable`, - }, - "", - false, - 0, - }, - }, - { // Edit ingredient - input{ - []string{ - tempFile, - "--edit", - "--name", "editable", - "--namespace", "org/{{.Username}}", - "--version", "1.0.1", - "--author", "author-name-edited ", - }, - nil, - nil, - true, - }, - expect{ - []string{ - `Publish following ingredient?`, - `name: editable`, - `namespace: org/{{.Username}}`, - `version: 1.0.1`, - `name: author-name-edited`, - `email: author-email-edited@domain.tld`, - }, - "", - false, - 0, - }, - }, - { // Must supply version - input{ - []string{ - "--edit", - "--name", "editable", - "--description", "foo", - }, - nil, - nil, - false, - }, - expect{ - []string{ - `You did not provide a unique version number`, - }, - "", - true, - 1, - }, - }, - { // description editing not supported - input{ - []string{ - "--edit", - "--name", "editable", - "--description", "foo", - }, - nil, - nil, - false, - }, - expect{ - []string{ - `You did not provide a unique version number`, - }, - "", - true, - 1, - }, - }, - }, - }, - } - for n, tt := range tests { - suite.Run(tt.name, func() { - templateVars := map[string]interface{}{ - "Username": username, - "Email": email, - } - - for _, inv := range tt.invocations { - suite.Run(fmt.Sprintf("%s invocation %d", tt.name, n), func() { - ts.T = suite.T() // This differs per subtest - if inv.input.metafile != nil { - inputMetaParsed, err := strutils.ParseTemplate(*inv.input.metafile, templateVars, nil) - suite.Require().NoError(err) - metafile, err := fileutils.WriteTempFile("metafile.yaml", []byte(inputMetaParsed)) - suite.Require().NoError(err) - templateVars["MetaFile"] = metafile - } - - args := make([]string, len(inv.input.args)) - copy(args, inv.input.args) - - for k, v := range args { - vp, err := strutils.ParseTemplate(v, templateVars, nil) - suite.Require().NoError(err) - args[k] = vp - } - - cp := ts.SpawnWithOpts( - e2e.OptArgs(append([]string{"publish"}, args...)...), - ) - - if inv.expect.immediateOutput != "" { - cp.Expect(inv.expect.immediateOutput) - } - - // Send custom input via --editor - if inv.input.editorValue != nil { - cp.Expect("Press enter when done editing") - snapshot := cp.Snapshot() - match := editorFileRx.FindSubmatch([]byte(snapshot)) - if len(match) != 2 { - suite.Fail("Could not match rx in snapshot: %s", editorFileRx.String()) - } - fpath := match[1] - inputEditorValue, err := strutils.ParseTemplate(*inv.input.editorValue, templateVars, nil) - suite.Require().NoError(err) - suite.Require().NoError(fileutils.WriteFile(string(fpath), []byte(inputEditorValue))) - cp.SendLine("") - } - - if inv.expect.exitBeforePrompt { - cp.ExpectExitCode(inv.expect.exitCode) - return - } - - for _, value := range inv.expect.confirmPrompt { - v, err := strutils.ParseTemplate(value, templateVars, nil) - suite.Require().NoError(err) - cp.Expect(v) - } - - cp.Expect("Y/n") - - snapshot := cp.Snapshot() - rx := regexp.MustCompile(`(?s)Publish following ingredient\?(.*)\(Y/n`) - match := rx.FindSubmatch([]byte(snapshot)) - suite.Require().NotNil(match, fmt.Sprintf("Could not match '%s' against: %s", rx.String(), snapshot)) - - meta := request.PublishVariables{} - suite.Require().NoError(yaml.Unmarshal(match[1], &meta)) - - if inv.input.confirmUpload { - cp.SendLine("Y") - } else { - cp.SendLine("n") - cp.Expect("Publish cancelled") - } - - cp.Expect("Successfully published") - cp.ExpectExitCode(inv.expect.exitCode) - - cp = ts.Spawn("search", meta.Namespace+"/"+meta.Name, "--ts=now") - cp.Expect(meta.Version) - cp.ExpectExitCode(0) - }) - } - }) - } -} - -func TestPublishIntegrationTestSuite(t *testing.T) { - suite.Run(t, new(PublishIntegrationTestSuite)) -} diff --git a/test/integration/push_int_test.go b/test/integration/push_int_test.go index 64b34d5308..d7a18ca19c 100644 --- a/test/integration/push_int_test.go +++ b/test/integration/push_int_test.go @@ -114,7 +114,7 @@ func (suite *PushIntegrationTestSuite) TestPush_NoPermission_NewProject() { suite.OnlyRunForTags(tagsuite.Push) ts := e2e.New(suite.T(), false) defer ts.Close() - username, _, _ := ts.CreateNewUser() + username, _ := ts.CreateNewUser() pname := strutils.UUID() cp := ts.SpawnWithOpts(e2e.OptArgs("activate", suite.baseProject, "--path", ts.Dirs.Work))